The lang parameter to text/gemini

solderpunk solderpunk at SDF.ORG
Thu May 28 21:13:25 BST 2020


On Thu, May 28, 2020 at 08:02:34PM +0000, Nicole Mazzuca wrote:
> I would say, generally, that the base directionality of text is given by the script one is using, which is defined by the language tag. A language has a default script (for en-US, that's Latin), and if someone wants to change their script, it's very easy to do so via the script part of the lang tag, for example, yi-US (which is shorthand for yi-Hebr-US, and is RTL) vs yi-Latn-US (LTR).

Ah, I wasn't aware of this, thank you!  Shufei, if you're reading, do
you know if this addresses the concerns you've voiced to me previously
about vertical rendering of traditional Chinese?  Or is the problem that
there's just no standardised way to denote that, rather than a lack of
client support?

Cheers,
Solderpunk



More information about the Gemini mailing list