[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#209402: locales: Setting LC_CTYPE to ISO-8859-1 does not work



On Wed, Sep 10, 2003 at 12:10:25PM +0200, Vincent Lefevre wrote:
> On 2003-09-10 10:58:10 +0100, Colin Watson wrote:
> > On Wed, Sep 10, 2003 at 06:27:01PM +0900, Vincent Lefevre wrote:
> > > But case conversion rules should apply to the language of the
> > > corresponding text, which isn't necessarily the same as the
> > > language chosen by the user (with LC_CTYPE).
> > 
> > C's toupper() and tolower() functions use LC_CTYPE. It's up to the
> > application to figure out if it needs to temporarily do something
> > different.
> 
> I agree, but then, why not accept "ISO-8859-1" only, from the user's
> point of view?

You might as well just leave it at C. It doesn't provide the case
conversion functions (say) with any extra information.

More to the point, it's not implemented, not required to be implemented,
and not necessary for localization. :)

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: