Xcode 6.4: Xcode insists on using UTF8 for my UTF16 file, then complains about it

Originator:kusterer
Number:rdar://22418764 Date Originated:25-Aug-2015 04:19 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.4 (6E35b)
Classification:Serious Bug Reproducible:Always
 
I have a UTF16 .strings file. The project is set to treat it as UTF16 (see attached screen shot in why_utf8.zip archive, or https://www.dropbox.com/s/z3dn5dh9xz7e7hh/Screen%20Shot%202015-08-25%20at%2016.14.24.png?dl=0).

However, as the second screen shot (same archive, or https://www.dropbox.com/s/89g6kbhgxiozbqg/Screen%20Shot%202015-08-25%20at%2016.15.02.png?dl=0) shows, Xcode processes the file as UTF8 and then gives me a warning about it, breaking my build.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!