solderpunk solderpunk at SDF.ORG
Mon May 18 15:01:58 BST 2020
- - - - - - - - - - - - - - - - - - -
On Sun, May 17, 2020 at 09:02:51PM -0400, Sean Conner wrote:
It could be included with the MIME type as:
text/gemini; lang=en_US
or maybe as:
text/gemini; language=se_NO
I have been meaning to propose exactly this.
The FAQ says that the "first class" application of Gemini is humanconsumption of predominantly written material, and specifying a languageis actually really important metadata for this application. Knowing thetext encoding is not adequate:
Screenreaders (like Rhapsode) need to know a language to be able topronounce text vaguely correctly.
Text in some languages should be rendered right to left and/or top tobottom.
The same word can mean very different things in different languages andsearch engines should not return irrelevant results on this basis.
Someone is bound to ask: "Oh, does this mean text/gemini;content-size=1234 is okay, too?". No! We are talking about MIME typeshere. This is *category* information. Details specific to oneparticular document are inappropriate.
Cheers,Solderpunk