Unmappable character for encoding UTF-8 in Android Studio

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 ->
file_encode1
You’ll see a Drop down list of different Encodings, Select more ->
file_encode2

then Select UTF-8.

and then you will see a dialog with Reload and Convert buttons, Select Convert option.

Unmappable character
and build the project.

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…
file_encode7

And To convert File Encoding for whole project, Select Settings icon in menu bar
file_encode5

On left Panel  Goto Project Settings -> select File Encodings -> change the Project Encoding to UTF-8

file_encode6

Hope it helps somebody…

Cheers (Y)

You may also interested in

3 Comments

  1. VuTranguUet | | Reply

    thank you =D

  2. Lina Inverse | | Reply

    thank you very much ! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *