[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UTF-8 and GNUstep
From: |
Yen-Ju Chen |
Subject: |
Re: UTF-8 and GNUstep |
Date: |
Sat, 31 May 2003 22:43:01 -0400 |
From: Christopher Culver <crculver@users.sourceforge.net>
To: discuss-gnustep@gnu.org
Subject: UTF-8 and GNUstep
Date: Sun, 1 Jun 2003 05:02:08 +0300
[snip]
So, please let this GS newbie know how Unicode or UTF-8 display functions,
and what doesn't work and why.
Not sure I understand your problem,
but you may check
http://www.gnustep.org/resources/documentation/gui/LanguageSetup.html
I use tranditional Chinese in GNUstep all the time.
Basically, if you want to read UTF-8 files into GNUstep (ex. Ink.app),
you have to set the environment GNUSTEP_STRING_ENCODING =
NSUTF8StringEncoding
so that GNUstep knows it is UTF-8 format.
Or you can read the file into NSData and transfer it into NSString using
NSUTF8StringEncoding without setting the GNUSTEP_STRING_ENCODING.
This may be a better way for the character viewer.
As for the input, GNUstep should accept UTF8 xim.
Hope this help.
Yen-Ju
Christopher Culver
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://mail.gnu.org/mailman/listinfo/discuss-gnustep
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
- UTF-8 and GNUstep, Christopher Culver, 2003/05/31
- Re: UTF-8 and GNUstep,
Yen-Ju Chen <=