All was working fine and dandy with Eclipse in Windows until I switched to Mac OS X Yosemite, using Android Studio V1.0. I imported the project as a Non-Android Studio project since it was created with Eclipse, the import went fine and then Android Studio started showing this error all over the files :
error : unmappable character for encoding UTF-8
EDIT: Opening files directly into Sublime Text show no errors in foreign characters. Using view.encoding()
inside ST's console I was able to see the file encoding, which was Western (Windows 1252)
. I went to Android Studio and changed the encoding of the file to windows-1252
and it's now working fine !
Is there a way to tell Android Studio to read the files in windows-1252
and then convert them to UTF-8 to keep the standard encoding format ?