On Sun, Aug 18, 2002 at 03:29:23AM +0200, Miloslav Trmac wrote:
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.
glibc is sane enough, but there are no guarantees that the return of
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.
I can't find anything in the default environment and the locale
command doesn't
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