On Fri, May 31, 2013 at 07:30:20AM -0500, Vladimir Támara Patiño wrote:
> I agree with Andres, that a structure should be required for the locale
> name, I guess fine starting with C, POSIX, C.encoding,
> POSIX.encoding, ll.encoding or ll_CC.encoding, with CC according to
> ISO 3166-1 alfa-2,
> and ll according to ISO 639-1.

Sure.

My point is that all that matters for the LC_CTYPE case is
the 'encoding' part,  where we support whatever directory names
are used in /usr/share/locale/ to store the LC_CTYPE files.

That's why my diff says "<whatever>.<encoding>" in the context
of the LC_CTYPE support code. I don't mean to imply that the
<whatever> part couldn't be specified elsewhere.

If, say, LC_COLLATE requires information of the form ll_CC then
the code configuring collation must enforce that requirement.
The LC_CTYPE code doesn't need to enforce it.

Reply via email to