0

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.

Badjano
  • 418
  • 7
  • 23

1 Answers1

0

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.

Owen Hartnett
  • 5,925
  • 2
  • 19
  • 35
  • I'm not good at file encoding, could you help me? I'm trying UTF 16 with BOM but it still doesn't compile, do you know what encoding I must use? thanks! – Badjano Feb 10 '14 at 18:53
  • Check out this post: http://stackoverflow.com/questions/7079930/how-to-change-text-encoding-of-localizable-strings-file-in-xcode-4 – Owen Hartnett Feb 10 '14 at 21:17