Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: InfoPlist.strings



 

Worked perfect Fritz- Thanks much.

How do you guys fine/know all these little anomalies?

 

Carl

 

 

On 30 Jun 2005, at 12:48 PM, Carl Smith wrote:

I have an Xcode project that I have been working on and using for about 5 months. The other day when I went to look at my InfoPlist.strings and/or English it brings everything up in either Chinese or Japanese. Anyone have any clue as to why? When I go to finder and look at the files using a text editor everything looks fine. Is there some setting on Xcode that I might have hit by accident?

InfoPlist.strings ought to be encoded in UTF-16. What you describe suggests your file used an 8-bit encoding, and then Xcode, for some reason, decided to interpret it as Unicode.

 

Open an Info window for the .strings file and change the encoding back to the 8-bit encoding you originally used (tell Xcode to reinterpret it, not to translate it). Then, because it should be UTF-16, select UTF-16, and allow Xcode to translate it.

 

    -- F

 



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.