Re: CFPropertyListCreateFromXMLData(): plist parse failed
Re: CFPropertyListCreateFromXMLData(): plist parse failed
- Subject: Re: CFPropertyListCreateFromXMLData(): plist parse failed
- From: Jens Ayton <email@hidden>
- Date: Wed, 29 Sep 2004 00:57:50 +0200
Jacob Lukas:
I get this weird error sometimes when I'm running my application
through Xcode:
CFPropertyListCreateFromXMLData(): plist parse failed; the data is
not proper UTF-8. The file name for this data could be:
/usr/share/zoneinfo/GMT
The parser will retry as in 10.2, but the problem should be corrected
in the plist.
This means that you have a plist which is in an 8-bit encoding other
than UTF-8. This is almost certainly not /usr/share/zoneinfo/GMT
(CFPropertyListCreateFromXMLData() tends to fall back on your current
zoneinfo when it doesn't have a clue), and could very well be a
.strings file. The simplest solution is to open all plists (and
.strings files) in XCode, select Format > File Encoding > Unicode
(UTF-8), and select Convert. (The exact process varies between versions
of XCode and Project Builder.) Then check your files to ensure any
non-ASCII characters are OK.
--
Jens Ayton
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden