[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Add another encoding
From: |
Yen-Ju Chen |
Subject: |
RE: Add another encoding |
Date: |
Fri, 8 Mar 2002 09:42:34 -0500 |
Thanx a lot.
It works !!
Yen-Ju
> -----Original Message-----
> From: Richard Frith-Macdonald [mailto:richard@brainstorm.co.uk]
> Sent: Friday, March 08, 2002 8:02 AM
> To: Yen-Ju Chen
> Cc: discuss-gnustep@gnu.org
> Subject: Re: Add another encoding
>
>
>
> On Thursday, March 7, 2002, at 06:17 PM, Yen-Ju Chen wrote:
>
> >
> > I want to ask whether GNUstep can add another encoding
> > for Traditional Chinese in NSString.h, Unicode.m and other related
> > files.
> > The encoding for Traditional Chinese is "BIG5".
> > So the encoding name could be NSBIG5StringEncoding or
> > something else which is suitable.
> > And the name for iconv is "BIG5" in Unicode.m in
> > iconv_stringforencoding()
> > method.
>
> Ok. will do that.
>
> In general I see no problem with adding encodings, it would seem silly to
> restrict ourselves to the old OpenStep ones or even to the MacOS-X ones.
> The only thing is, if/when MacOS-X does support these encodings, we would
> probably want to change our names to match theirs.
>
> > It is not publicly supported in Cocoa, but I think it can be added as
> > GNUstep additions
> > as NSGSM0338StringEncoding, etc.
> > And MacOS X must use some private methods to support Big5
> > because it have Traditional Chinese version.
> >
> > By the way, in System/Libraries/Resources/Languages/Locale.aliases,
> > could GNUstep also add another alias as "zh_TW = TraditionalChinese".
>
> Done that too.
>
> Please try it out and let me know if I missed anything.
>