[i18n-discuss] Does the html attribute "lang" implies the unicode script in the font?

Pecita has just created a new issue for https://github.com/w3c/i18n-discuss:

== Does the html attribute "lang" implies the unicode script in the font? ==
Hello.

Does the html attribute "lang" implies the unicode script in the font?
For example,
- Does lang="ja" implies in the use in the font of script="hani" and lang="JAN"?
- Does lang="fr" implies in the use in the font of script="latn" and lang="FRA"?

The (x)html attribute "lang" assign a language to an element. There is no attribute "script" in (x)html.

In a font, scripts are sets of glyphs. Somes glyphs does not belong to a specific script (default script).
There are also the root of the use of language in tables. A language can be assigned to any script, including to the default script. So for example the French language can be assign to Latin but also to default or Phoenician script.

This confusion created [this bug](https://bugs.chromium.org/p/chromium/issues/detail?id=779374) that should be clarify.

Regards,
Philippe

Please view or discuss this issue at https://github.com/w3c/i18n-discuss/issues/10 using your GitHub account

Received on Tuesday, 7 November 2017 02:10:45 UTC