[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Native unicode support?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 25 Jun 2002 15:09:24 -0300
>Luiz Henrique de Figueiredo wrote:
>> That depends on the current locale. Try setting a Korean locale.
>> Seeting a Portuguese locale allows identifiers with accents, such as "número".
>Then the obvious question is: what happens when you give
>your script to someone in a different locale?
Nobody is forcing you to use "strange" identifiers. If you do, you should be
aware that your script may not be portable. For some people, being able to
use "strange" identifiers may be more important than portability.
The point here is that in ANSI C it just happens that isalpha and isalnum
respect the current locale, and so "strange" identifiers are allowed.
It's easier to allow them than not...