• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding string encodings CoCoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding string encodings CoCoa


  • Subject: Re: Adding string encodings CoCoa
  • From: Alastair Houghton <email@hidden>
  • Date: Sun, 16 Aug 2009 21:31:25 +0100

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 (email@hidden)

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:
This email sent to email@hidden


References: 
 >Adding string encodings CoCoa (From: email@hidden (tim lindner))

  • Prev by Date: Re: Adding string encodings CoCoa
  • Next by Date: Re: Cleaning "garbage" in Core Data
  • Previous by thread: Re: Adding string encodings CoCoa
  • Next by thread: Turn off menu highlight in outline view?
  • Index(es):
    • Date
    • Thread