ASCII and Unicode quotation marks (2007)
2 days ago
- #typography
- #ASCII
- #Unicode
- Avoid using ASCII grave accent (0x60) as a left quotation mark with ASCII apostrophe (0x27) as the right mark.
- Use apostrophe (0x27) for both left and right quotation marks if limited to ASCII.
- For better typography, use Unicode directional quotation marks (U+2018, U+2019, U+201C, U+201D).
- ASCII and ISO 8859 were designed for typewriters and should not be used for directional quotation marks.
- Unicode and ISO 10646 standards clearly distinguish between neutral and directional quotation marks.
- PostScript fonts have a complex history with encoding vectors, requiring careful mapping for correct glyph display.
- TeX's Computer Modern font includes directional single quotation marks but lacks directional double marks.
- Use LaTeX's upquote package to correct ASCII quotation mark glyphs in verbatim modes.