lua-users home
lua-l archive

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

Am 09.06.2011 um 18:11 schrieb Javier Guerra Giraldez:

> On Thu, Jun 9, 2011 at 8:32 AM, Peter Cawley <> wrote:
>> if text is ASCII and uses codes between 128 and 255
> ASCII is only 0-127
> the other 128 codes are undefined, even if there are some 'codepages'
> and such.  but they're not ASCII

If you use codepages, the uppper 128 codes are well defined (and yes, they are not 7 bit ASCII).  I suggest to use Unicode internally and iconv to convert to the output medium charset.