[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: detect the charset used by the os
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 27 Feb 2010 21:31:40 -0300
> On Unix the terminal's charset is determined by the locale environment
> variables, i.e. LANG if it is set, otherwise LC_CTYPE.
Or call os.setlocale() or os.setlocale(nil,"ctype").