Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing source files encoding in XCode 4

Tags:

xcode

xcode4

ide

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.

like image 957
Anton Petrov Avatar asked Mar 28 '11 13:03

Anton Petrov


1 Answers

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.

like image 102
2 revs Avatar answered Sep 25 '22 17:09

2 revs