Search code examples
iosformatlocalizable.stringschinese-locale

iOS Localized String in Chinese


I'm trying to put chinese characters in a localized string file ( Localizable.strings ) but xcode can't compile it, it says it is in the wrong format. If I remove the chinese characters it compiles fine, what should I do?

Thanks.


Solution

  • It sounds like you're trying to put 16 bit characters into a file designed for 8 bit characters. Check the encoding on your file and make sure it's capable of preserving the proper character set(s) you need.