Re: charmap info from locale?

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

 



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
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux