Search code examples
xcodeidexcode4

Changing source files encoding in XCode 4


We are developing primarily in C++ under Windows and write comments in Russian. So our OEM encoding is Cyrillic (Windows).

XCode 4 does not ask to specify file encoding when you add existing file to the project. And you can specify your encoding in the right pannel on per file basis.

How am I supposed to change encoding for more than 200 files?

Thank you.


Solution

  • Select the files (one or more) in the Project Navigator. In the Utility pane, under the Text Settings group you can change the Text Encoding.