Re: charmap info from locale?

2002-08-17 Thread Miloslav Trmac
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_

charmap info from locale?

2002-08-17 Thread John Ellson
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