Re: ISO 8859-15 (Latin 9) Euro symbol and more
Re: ISO 8859-15 (Latin 9) Euro symbol and more
- Subject: Re: ISO 8859-15 (Latin 9) Euro symbol and more
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 24 Jul 2004 14:14:54 -0600
On Jul 24, 2004, at 1:37 PM, Bertrand Mansion wrote:
I have to use the euro symbol and other chars (& -> oe for example)
which are
available in the ISO 8859-15 character set [1] but this encoding does
not seem
to be available as a NSStringEncoding. Unfortunately, using Unicode is
not an
option for me due to compatibility reasons with the underlying library.
I have also noticed that the Core Foundation seems to have more
encodings
available than Cocoa. Is this an option ? If yes, what would be the
best way to
convert from one to another ? Which other solutions could I try ?
Yes. CoreFoundation has a lot of string encodings that aren't present
in the NSString.h header, but that doesn't mean there aren't more
NSString encodings you can use. If you look at CFString.h, you'll
notice that there's a function called
CFStringConvertEncodingToNSStringEncoding() that bridges this gap. I
haven't tried it with that particular encoding you've mentioned, but
that would be the first thing I'd try.
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.