[NUT-devel] questions about "Language" info packets

Clemens Ladisch cladisch at fastmail.net
Wed Feb 14 09:32:48 CET 2007


Michael Niedermayer wrote:
> On Tue, Feb 13, 2007 at 03:36:34PM -0500, Rich Felker wrote:
> [...]
> > > So ISO 3166 is out, too?
> > 
> > I'm against 2-letter codes. The number of languages is way too large
> > for these codes to be remotely sufficient.
> 
> ISO 3166 is about country codes and about half of the codes from the 2
> letter codespace seem to be used or reserved in some way ...

But should three-letter country codes be allowed?
In that case, how should the entire language string be formatted?
Something like "lll-ccc" where both "lll" and "-ccc" are optional?

> > >     For historical reasons, demuxers MUST treat "multi" like "mul" and
> > >     "" (the empty string) like "und".
> > 
> > Historical reasons?? There are no such files, and this is a draft
> > (albeit frozen) spec.

Well, I interpreted "frozen" to mean that no incompatible changes could
be made at all ...

> > I don't see any way that translating "multi" to
> > "mul" and "" to "und" would improve functionality over just treating
> > them as an unexpected value. If there's cruft in the spec that can be
> > removed without really hurting anything, I'd like to remove it.
> 
> well then lets add a
> "a muxer MUST ignore unknown language and country codes instead of treating
> them as an error"

Agreed.


Regards,
Clemens



More information about the NUT-devel mailing list