Re: CFBundleIconFile: heiß or hot?
Re: CFBundleIconFile: heiß or hot?
- Subject: Re: CFBundleIconFile: heiß or hot?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 29 Aug 2008 08:29:28 +0700
On 29 Aug 2008, at 04:11, Jean-Daniel Dupas wrote:
Le 28 août 08 à 23:00, Kyle Sluder a écrit :
On Thu, Aug 28, 2008 at 12:50 PM, Gerriet M. Denkmann
<email@hidden> wrote:
It starts with:
<?xml version="1.0" encoding="UTF-8"?>
Just because it *says* it's encoded in UTF-8 doesn't mean it *is*.
For all you know it was saved in MacRoman.
--Kyle Sluder
So, why the Cocoa frameworks parse it correctly and -
applicationIconImage works as expected.
By default, Info.plist are explicitly mark as UTF-8 in Xcode
projects. I'm sure this is not an Info.plist encoding issue.
1. I opened the Info.plist in a hex editor and it looked like proper
Utf-8. A hex dump can be supplied on request.
2. I saved it (in MacRoman) to BadInfo.plist and opened it in
Property List Editor. Got:
2008-08-29 08:21:15.507 Property List Editor[10970] CFLog (0):
CFPropertyListCreateFromXMLData(): plist parse failed; the data is
not proper UTF-8. The file name for this data could be:
/Volumes/.../BadInfo.plist
The parser will retry as in 10.2, but the problem should be
corrected in the plist.
3. I did "Info" in Xcode and it told me: File Encoding: Utf-8.
Anything else I should try?
Kind regards,
Gerriet.
_______________________________________________
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