• 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
Reading in UTF-8 Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading in UTF-8 Data


  • Subject: Reading in UTF-8 Data
  • From: email@hidden (Jason Brown)
  • Date: Thu, 12 Jul 2001 10:07:12 -0500

What is the best method for reading in strings encoded in UTF-8?

For example, I have a file in the plist format, with the strings being
UTF-8 strings (ie, having & instead of &, etc).

When coming in, the & gets turned into &, as it should be. But,
there are others that are not understood. Example would be the
trademark symbol, ™.

I have tried several different methods, including reading them in as
data, then converting them to strings using the withdata:encoding, but
no dice. Anyone have any suggestions?

Jason
Vital Source Technologies
<email: email@hidden>


  • Prev by Date: RE: NSOutlineView from Java solved?
  • Next by Date: Re: Want to make changes to my UI, do I lose current code?
  • Previous by thread: RE: NSOutlineView from Java solved?
  • Next by thread: Re: Want to make changes to my UI, do I lose current code?
  • Index(es):
    • Date
    • Thread