<-- back to the mailing list

Proposed minor spec changes, for comment.

Sean Conner sean at conman.org

Mon May 18 22:03:41 BST 2020

- - - - - - - - - - - - - - - - - - - 

It was thus said that the Great solderpunk once stated:

ISSUE 3:
Problem: There's no way to specify the (human) language a text/gemini document
is written in.
Proposal: Define a new parameter for the text/gemini MIME type
(alongside the previously defined `charset`) to specify language.
Following the example set by HTML, it seems natural to call the
parameter `lang` and to allow values as per RFC1766, e.g.:
text/gemini; charset=utf-8; lang=en
text/gemini; charset=utf-8; lang=en-US
text/gemini; charset=utf-8; lang=en-GB
text/gemini; charset=utf-8; lang=es
text/gemini; charset=utf-8; lang=fr

What's a client to do if 'lang=' isn't there? Assume English? Assumenothing?

-spc