I am using eclipse juno and android 2.3 Ginger bread.I create a project and did edit.When I try to save the file it shows the error message.It shows as a message box
Save could not be completed. Try file > save as ... if problem persists.
Reason:
some characters cannot be maped using " Cp1252 " character encoding.
Either chande the encounting or remove the characters which are not
supported by the " Cp1252 " character ebcoding.
It has 3 options
- OK
- Save as UTF-8
- select first character
How to solve this error ?
Don’t use special characters in you java files. put strings in strings.xml (which is always in UTF-8, so no problem here)