[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] character sets and localization
From: |
Jon Steinhart |
Subject: |
Re: [Nmh-workers] character sets and localization |
Date: |
Sat, 13 Nov 2010 09:50:07 -0800 |
> No, we should find a good external library that handles that for us.
>
> glibc comes with 'iconv', that should be a good place to start for most
> systems. Probably we should create a wrapper function that just calls
> iconv on glibc-based systems, or equivalent on other boxes.
That'll work. Thanks.
>
> > There is no standard of which I'm aware for finding out the local character
> > set.
>
> Look at the $LANG environment variable, that's probably a good start on most
> systems. The various LC_ environment variables if you want to do more
> localization work.
That's the way it is on my Linux system but that doesn't make it standard.
Jon