This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: LC_MESSAGES problem ?


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,

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]