views:

43

answers:

1

I've got an iPhone project and my english Localizable.strings suddenly doesn't work anymore. I just noticed the english Localizable.strings file in the resulting .app-folder hardly has any data in it at all. From my 3500 bytes original english file, the one in the .app is 50 bytes (compared with the japanese which is 3000 bytes in the .app).

Where did all the data go?

I've been trying to remove the build folder and rebuilding everything, but that doesn't seem to help. The japanese strings work just fine.

What could be wrong?

A: 

There were invisible errors in the english file. Each row started with 0xFFFE, which they supposedly shouldn't do. This was tricky as it didn't show up in any text editor I used. It wasn't until I opened the file in a hex editor that this showed up (not so obvious I might add :p). I used hex fiend for this.

quano
Having gone through similar problems, I can recommend MacOS's builtin tool hexdump:hexdump -C Localizable.strings
DenNukem