On Wed, Sep 10, 2003 at 06:27:01PM +0900, Vincent Lefevre wrote: > On Wed, Sep 10, 2003 at 02:07:03 +0100, Colin Watson wrote: > > The LC_CTYPE variable sets the character classification and case > > conversion rules. Picking an encoding is just one part of this: things > > like case conversion rules vary considerably between languages and > > probably even variants of languages, and there isn't a reasonable way > > for the C library to guess which one you meant. > > 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. -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]