On Mon, 8 Jul 2002, Keith Packard wrote:

>
> Around 14 o'clock on Jul 8, Owen Taylor wrote:
>
> > +    locale = (FcChar8 *)setlocale (LC_CTYPE, NULL);
>
> Don't you mean LC_MESSAGES?

  I believe it should be LC_CTYPE. Some people like me
have the following because English menu and (error) messages are easier
to understand than not-so-good translation.


  LC_CTYPE=ko_KR.eucKR
  LC_MESSAGES=C
  LC_PAPER=en_US   # because the US doesn't use ISO std. paper size
  .....

  or

  LC_CTYPE=ko_KR.UTF-8
  LC_MESSAGES=en_US.UTF-8
  LC_PAPER=en_US.UTF-8
  .....


> If so, I think we should be able to use this
> return value almost raw; stripping out the language and territory codes and
> passing them in as FC_LANG, right?

  Did you mean that only codeset part is relevant here and we can
go without relying on lang and territory codes? The codeset  doesn't
carry any lang-specific information if UTF-8 locale is used.

   Jungshik

_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to