On Sat, Aug 17, 2002 at 05:10:00PM -0400, John Ellson wrote:
> Can anyone tell me how a program can determine what character encoding 
> (charmap) it should
> expect in a user's environment?   I want to use UTF-8 internally, but I 
> need to know what to ask
> iconv() to convert from.
Probably nl_langinfo (CODESET). AFAIK there is no guarantee that the
returned name can be used for iconv, but I hope that glibc is sane
enough.
        Mirek



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to