HeadlinesBriefing favicon HeadlinesBriefing.com

ASCII Quotation Marks vs Unicode Directional Quotes

Hacker News •
×

The longstanding inconsistency between ASCII grave accents (`) and apostrophes (') as quotation marks versus modern Unicode directional quotes (like ‘ ’ “ ”) is causing display problems across different systems. Old X Window fonts historically displayed these ASCII characters as mutually symmetric glyphs, leading Unix developers to misuse `0x60` as a left quote and `0x27` as a right quote. This practice looks acceptable on legacy systems but appears incorrect on modern platforms like Windows and Mac, where Unicode 4.0 standards mandate distinct directional quotes (U+2018, U+2019, U+201C, U+201D). The core issue stems from XFree86 4.0 adding TrueType font support, exposing the outdated practice.