After importing project from eclipse into Android Studio i have got the following error Unmappable character for encoding UTF-8
Error: unmappable character for encoding UTF-8
Solution for Unmappable character for encoding
To fix this issue, in Android Studio, Open the File with the encoding issue. Go to File
menu-> Select File Encoding
->
You’ll see a Drop down list of different Encodings, Select more
->
then Select UTF-8
.
and then you will see a dialog with Reload and Convert buttons, Select Convert option.
Solves the issue
Another way to change File Encoding is, You can see at the right bottom menu as shown in below image, click on it; displays a list of encodings. then just follow above steps…
And To convert File Encoding for whole project, Select Settings icon in menu bar
On left Panel Goto Project Settings -> select File Encodings -> change the Project Encoding to UTF-8
Hope it helps somebody…
Cheers (Y)
You may also interested in
- No Update and Restart button to download latest version in Android Studio,
- Integrate BitBucket Plug in Android Studio,
- Create new Class extends a Superclass- Android Studio
- Issues after updating to Android Studio 2.0v
- Useful Keymap Shortcuts and Settings Android Studio Startup guide
- Android Studio ADB wipes out logcat quickly when app crashes
- Generate signed APK file with Specific name- Android Studio
3 thoughts on “Unmappable character for encoding UTF-8 in Android Studio”
Reblogged this on Dinesh Ram Kali..
thank you =D
thank you very much ! 🙂