Re:KanjiVG – SVGs of Kanji character strokes including order...
by geokon on Wednesday February 22, 2023 @01:43AM
(#34892448)
the lil inside square is inconsistent in chinese
For instance traditional chinese in china will be left 過. Most computer systems will type this one
But in Taiwan they do right side (you cant even copy\paste it though)
And simplified is entirely different 过
Re:KanjiVG – SVGs of Kanji character strokes including order...
by AnIdiotOnTheNet on Wednesday February 22, 2023 @08:44AM
(#34895307)
> In case anyone is wondering why different glyphs have the same unicode code point, and how an app is supposed to decide which one to render... Well I don't know the reason for the first question actually
https://en.wikipedia.org/wiki/Han_unification
My understanding is that this is basically "white guy says all Asian writing looks the same" in standards form and is largely regarded as a terrible idea.
Re:KanjiVG – SVGs of Kanji character strokes including order...
by kevin_thibedeau on Wednesday February 22, 2023 @09:13AM
(#34895785)
Unicode had a builtin language tagging system to resolve glyph variants. Han unification was implemented with this in mind. Then the tagging got deprecated in a later version.
Re:KanjiVG – SVGs of Kanji character strokes including order...
by AnIdiotOnTheNet on Wednesday February 22, 2023 @09:26AM
(#34896004)
The more I learn about unicode, the more it looks like Bad Ideas: The Standard to me. The only good part of it is the UTF-8 encoding and that was just Thompson and Pike sitting down and thinking about the problem for an hour.
Re:KanjiVG – SVGs of Kanji character strokes including order...
by kevin_thibedeau on Wednesday February 22, 2023 @10:56PM
(#34906575)
UTF-8 is just a simplified improvement on another variable encoding. They didn't conjure it from nothing.
But as for the second question: for HTML documents, many tags have a lang attribute that decide which version of the glyph to render within that tag. Hacker News has lang="en", so it'll use a user setting to decide. For example, in Firefox' about:config, there's a setting called cjk_pref_fallback_order. If e.g. ja comes first, the little square inside the top square in 骨 is rendered on the right side, if any zh thing comes first, it's rendered on the left side.