3 ms·
> Is there a reason unicode doesn't have such a builtin lang tag? It does, but they aren’t widely supported and their use is not recommended, see http://unicod
by layer8 5y ago
> Is there a reason unicode doesn't have such a builtin lang tag?
It does, but they aren’t widely supported and their use is not recommended, see http://unicode.org/faq/languagetagging.html http://unicode.org/faq/languagetagging.html and https://datatracker.ietf.org/doc/html/rfc6082 https://datatracker.ietf.org/doc/html/rfc6082. The recommendation is to use markup languages instead to carry that information.
The reasoning is that anything related to styling is out-of-scope for Unicode (except where needed for round-trip compatibility with other character sets), or else people will also want tags for bold, italic, monospace, or (expressed semantically) for emphasis, code, etc. That’s what markup languages like HTML are for.