LC_MESSAGES problem ?

Won-kyu Park wkpark@chem.skku.ac.kr
Mon Nov 20 10:23:00 GMT 2000


On Mon, Nov 20, 2000 at 09:56:38AM -0800, Ulrich Drepper wrote:
> Won-kyu Park <wkpark@chem.skku.ac.kr> writes:
> 
> > There are many programs do not use setlocale(LC_CTYPE,"").
> > some programs are LC_CTYPE sensitive (like isctype() etc.) and then
> > set the LC_CTYPE as 'C'. but... how can I get a translation messages
> > under glibc ?
> > (with OUTPUT_CHARSET ?)
> 
> This is one possible intermediate solution.  Fixing the program is
> better.
> 
> > Solaris works fine with setlocale(LC_MESSAGES,"") only.
> > (without setlocale(LC_CTYPE,""))
> 
> And your point is?

IMHO, LC_MESSAGES may implies its own charset info.
(be independent with LC_CTYPE.) and then a translation message has its own
charset.

the default outcharset value in loadmsgcat.c have to be fixed from "ASCII"
to locale specific value (but how can I fix it ? I don't know :-()

Regards,


More information about the Libc-alpha mailing list