Re: what value of $LANG is required for gtk-2.0?



On Fri, 13 Apr 2001, Robert Brady wrote:

> On Fri, 13 Apr 2001, Vlad Harchev wrote:
> 
> >  Hmm, do you mean that we can modify it to perform charset conversion?
> 
> This would be possible.
> 
> There's g_locale_{to,from}_utf8 which are ideal for doing this...
> 
> >  That also may be a solution - but it will require wrappers for all functions
> >  that return locale-dependant information (though there are not many) and
> > forcing programmers to use these wrappers. Or we should force programmers to
> > convert return values of such functions to utf8 (AFAR QT uses this apporach).
> >  But we should choose only one of these options of course.
> 
> Agreed. Does anyone have a list of functions that would need to be
> wrapped.
> 
>    nl_langinfo() (maybe)
>    strftime()
> 
> any others?

 Also localeconv() - 'currency_symbol' and various separators can be
non-ascii.

 Best regards,
  -Vlad





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