• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Encoding error when attempting to build with Cmake

  • Thread starter Thread starter Dawis67
  • Start date Start date
D

Dawis67

Guest
Hi.
Im very new to Android studio, and i just ran into a problem with building the project in AS. I get the following error:
fatal error: UTF-16 (LE) byte order mark detected in 'A:/Visual Studio 2017/__Projects__/.../mycppfile.cpp', but encoding is not supported

I have tried few things. I tried changing the AS encoding to UTF-16, i tried enabling Tools -> Options -> Environment -> Documents -> "Save documents as Unicode when data cannot be saved" in my visual studio and tried to save the .cpp file again.

From the error it appears as if the issue comes from weird encoding from Visual Studio.

I would greatly appreciate help.
 
Back
Top Bottom