Reading in UTF-8 Data
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 with
data:encoding, but
no dice. Anyone have any suggestions?
Jason
Vital Source Technologies
<email: email@hidden>