News for hackers. Stuff that matters.
Re:Make JDK source code UTF-8 by yorwba on Wednesday March 01, 2023 @03:55AM (#34980213)
Unicode does not have different codepoints for every language. Leaving aside scripts that aren't encoded at all, all languages using the Latin script get a single set of glyphs, and if you want Comic Sans MS or Carolingian miniscule or fine-grained control over whether "a" has a hook at the top or not, you need to specify a font that renders it the way you want, just like with 直.

Because Unicode is about the meaning of characters, not their appearance. If there were a context where the two different shapes of 直 have different meaning, Unicode would add a new codepoint to distinguish them. In fact "ɑ" without hook does have a separate codepoint because it is used in linguistics to mark a vowel different from "a".

Re:Make JDK source code UTF-8 by lozenge on Wednesday March 01, 2023 @04:23AM (#34980356)
If CYRILLIC SMALL LETTER A deserves a code point despite being so similar to LATIN SMALL LETTER A, why doesn't a Japanese character that actually looks different from a Chinese one get a codepoint? And the idea that something can have the "same meaning" across two languages is very wooly.
Re:Make JDK source code UTF-8 by astrange on Wednesday March 01, 2023 @06:53PM (#34990063)
Why don't Japanese characters in seal script or handwriting get different codepoints from mincho font characters? They look different too.