Code class files created by the Editor that include the Copyright symbol (©) are created with UTF-16 encoding. This encoding is not supported by Xcode on Mac, and will result in a build failure. In order to be able to successfully build the project in Xcode, the encoding for each new code file added to the project by the Editor that contains the Copyright symbol must be changed to UTF-8.

Steps to Reproduce
  1. Create a new code project.
  2. Open the Project Settings.
  3. Edit the project copyright message to include a Copyright symbol (©).
  4. Add a new code class to the project.

The new code class is added to the project, but the compile of the project including the new class will fail. The error message displayed states UTF-16 byte order mark detected.

The project compile completes successfully.

After adding the code class to the project, edit the encoding of the files and change it from UTF-16 to UTF-8.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

Won't Fix
ComponentUE - Platform - Apple
Affects Versions4.15.14.19
CreatedMar 27, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021