• 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: CFPropertyListCreateFromXMLData(): plist parse failed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: CFPropertyListCreateFromXMLData(): plist parse failed
      • From: Jacob Lukas <email@hidden>
    • Re: CFPropertyListCreateFromXMLData(): plist parse failed
      • From: Douglas Davidson <email@hidden>
References: 
 >CFPropertyListCreateFromXMLData(): plist parse failed (From: Jacob Lukas <email@hidden>)

  • Prev by Date: Re: Localizing a helper app
  • Next by Date: Re: CFPropertyListCreateFromXMLData(): plist parse failed
  • Previous by thread: CFPropertyListCreateFromXMLData(): plist parse failed
  • Next by thread: Re: CFPropertyListCreateFromXMLData(): plist parse failed
  • Index(es):
    • Date
    • Thread