For full RFC-3066bis support, we need APIs that determine
For well-formedness, see the spec (currently at
http://www.inter-locale.com/ID/draft-phillips-langtags-08.html, but we don't
anticipate changes). It needs to match both the ABNF
(http://www.inter-locale.com/ID/draft-phillips-langtags-08.html#syntax) and some
The data in RFC-3066bis (currently at
http://users.adelphia.net/~dewell/lstreg.txt) can be used to assess validity.
May change somewhat before the RFC goes final, but the changes should be
It would be possible to determine validity at a point in time, not just for the
latest snapshot of the registry that we picked up in ICU. That would require
keeping one more piece of information per entry. This could be compacted into a
byte or two, however.
We will also want the variants that we use in ICU to get registered.