-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Which language code for Hanja? #23
Comments
Good question. Hani is neutral on the simplified/traditional axis, so, as it doesn't apply to Hanja, might be preferable. (Assuming the text truly is Hanja only). |
ISO 15924 does define:
From these, it looks like the Han part of Korean writing system is supposed to be tagged with I don't have data on what the common practices are, though. Interested to see if there's anything significant. |
Since Korean written in Hanja has only ever been written in traditional ideographs, wouldn't using |
Your comment assumes that the simplified / traditional shape difference
is a font style matter - that is not generally the case, each has
separate character codes.
With regards to font styles, Japanese, Korean, Chinese and traditional
Chinese all use slightly different styles for the same characters.
However, for Japanese and Korean, you cannot capture that in the script
designator, but must use the language part as well.
|
I'm assuming that it is the case for some characters, due to han unification, not all. In the case of Chinese, where the Hans / Hant contrast is relevant, the script designator has an impact on which glyph gets picked in the case of ambiguous ones, in addition to the language. I am just wondering whether it also has an impact if the language is |
In Korea, we are using the code for Korean character set (kore/287), |
Thanks, that helps me understand why Hani instead of Hant. I had mistakenly assumed that since their had been no simplification, "traditional" was appropriate. (As far as I am concerned, we can close this issue) |
The IANA subtag registry suggests
Absent a font-family assignment, the All the above assumes, as Asmus said, that we're really making a point of the fact that the text contains only hanja characters, otherwise i think that |
Right. The context for this question is https://drafts.csswg.org/css-text-3/#script-tagging where we are specifically discussing unusual/historic writing styles (such as pure hanja in Korean), and the effect that should have on css-controlled typesetting. Either |
For texts written in Hanja, which is the preferred lang tag,
ko-Hant
orko-Hani
?The text was updated successfully, but these errors were encountered: