|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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.
| References: | |
| >Re: ISO 8859-15 (Latin 9) Euro symbol and more (From: Nick Zitzmann <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.