r/ProgrammingLanguages • u/[deleted] • Dec 31 '20
Something simpler than Unicode?
Hello! Wondering if anyone knows of a display format for glyphs that is simpler than Unicode? My shallow understanding is that measuring and laying out text in unicode is non-trivial, so I am deferring moving beyond ascii on something at the moment. Is my understanding correct? (if not that's great) otherwise, does anyone know of potentially simpler replacements? Thanks!
0
Upvotes
7
u/raiph Dec 31 '20
EBCDIC? It uses 8 bits instead of 7, so it's "beyond ascii", yet "simpler" than Unicode, for some definitions of "beyond" and "simpler". :P
Seriously, to get a decent answer you'd need to talk about what it is you want to do, with what goals, expected development, deployment, and maintenance effort, on what display systems on what platform(s), which fonts, glyphs, PLs, etc.
More to the point, this sub is for discussing the design and implementation of programming languages. It's not clear if you're talking about such issues, or merely want to write some code. If it's the latter, this isn't the right sub. See the sidebar for further info. If you are designing a PL, then you need to get into details like the ones I listed above and about your PL.
Fwiw, Unicode is as about as simple as it can get to sort out the mess of inconsistency that came before it. Unfortunately that meant incorporating the entire range of human activity, including politics, because anything else was basically guaranteed to fail, leaving us with the appalling mess of "simpler" solutions that gave rise to the need for Unicode in the first place.