On 16 Aug 2009, at 20:46, tim lindner wrote:

Is it possible to add an encoding to CoCoa?

I have some text data from a legacy system which is ASCII for 0-127, but
128-255 is unique to the system. I'd like to load it into a text view
and "just have it work".

Hi Tim,

It's worth checking whether the character set is *really* unique to that system. Even if Cocoa and Core Foundation don't support a given encoding, it's possible that iconv (see man 3 iconv_open) will support it (actually the latter even supports a couple of encodings that *are* unique, give or take).

And if you can't find it in any of those places, it's also worth checking the Unicode website, as there are predefined mappings for various character encodings; you can find those here:

  <http://www.unicode.org/Public/MAPPINGS>

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to