开发者

Why does Xcode make my Localized.strings file look screwed up like this?

When I click on the the en sub-file of that Localizeable.strings file which has a arrow to expand, I can't see what's written in that file. Screenshot:

Why does Xcode make my Localized.strings file look screwed up like this?

I can reveal the real fi开发者_JAVA技巧le in finder and then see the real content in TextEdit with no problems. Then I copied that from TextEdit and pasted it into Xcode, and VOILLA all looks nice. Saved, build & run, and Localization stopped working. Damn.

Any idea what's going on? I created this in Xcode, and I clearly remember that once upon a time I was able to edit the contents with no problem from inside Xcode.


The file is likely encoded in UTF-16. So, you can go to the Info for it (general pane) and set the right encoding for it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜