discuss-gnustep
[Top][All Lists]
Advanced

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

Re: multilanguage environment


From: Richard Frith-Macdonald
Subject: Re: multilanguage environment
Date: Mon, 22 Apr 2002 09:16:57 +0100

On Monday, April 22, 2002, at 08:39 AM, Björn Gohla wrote:

On Monday 22 April 2002 05:14, Yen-Ju Chen wrote:
  From my little experience,
  if you get * for every non-latin character,
  you have to set the correct encoding in your environment variable
GNUSTEP_STRING_ENCODING.
  And the GNUstep-base should handle it correctly.

i am kind of wondering why i should have to set GNUSTEP_STRING_ENCODING
anyway, as the problematic strings are read from a gnustep escape coded
property list, which gnustep should be able to read regardless. as gnustep always knows the internal encoding of strings (i assume) and NSString s are
transparently convertable to unicode (i assume again), it should have no
trouble finding a font to show the string, even if that meant using the rough
looking misc-fixed-* unicode fonts.

You set GNUSTEP_STRING_ENCODING because it tells GNUstep how you want character strings to be output ... ie what the display mechanism you are using understands.

eg. If you are working in a window which is expecting to deal with UTF8 data,
you need to tell GNUstep to produce UTF8 output.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]