I18N string best practices vs. design-principles #454
Labels
Agenda+
i18n-needs-resolution
Issue the Internationalization Group has raised and looks for a response on.
Status: Consensus to write
We have TAG consensus about the principle but someone needs to write it (see "To Write" project)
Status: In Progress
We're working on it but ideas not fully formed yet.
Milestone
I18N maintains a set of best practices (see also Editor's Copy). One set of these pertain to the definition of strings.
Design-principles has a set of best practices related to strings that prefer
DOMString
except when one needsUSVString
. This guidance is a little unclear, since there are non-DOM/non-JS/non-HTML specs that would prefer to use e.g.xsd:string
or a string definition that is close toUSVString
(based on code points). We (I18N) have recently had to go through this exercise with RDF-star and a couple of other specs and this is causing us to revise our best practices.It would not be helpful if TAG and I18N recommended different things. Our tendency is to prefer a string definition based on scalar value string with an exception for the space where UTF-16/WTF-16 (see #323) are the best practice vs. Design-principles (which is backwards from that). We also want to develop text that explains to specs that touch on UTF-8 based file formats why they want to use
DOMString
in their interfaces.Note well: we are not disagreeing with the design principles as currently articulated.
I was actioned with making this issue. Please add the
i18n-needs-resolution
label to this issue. (Shouldn't horizontal groups have permission enough to set horizontal review labels on your document repos?)The text was updated successfully, but these errors were encountered: