I'm developing an android app on eclipse on my mac. I run it and the special characters like á é í ó ú ñ work well. Now I have to develop on my linux machine(using eclipse too) and when i run it, the special characters don't work. For instance, instead of the word in spanish qué it appears qué. I don't know what is happening, if it is because of the JDK or anything... Thanks a lot for any help.
Asked
Active
Viewed 370 times
1
-
What's the encoding of your code files? – Szymon Sep 11 '13 at 12:10
-
make your files utf8 using notepad – Ahmed Ekri Sep 11 '13 at 12:11
-
do you have tried with charecter encoding? – Pradip Sep 11 '13 at 12:12
-
http://stackoverflow.com/questions/18560769/displaying-portuguese-characters-android/18560910#18560910 – laalto Sep 11 '13 at 12:13
2 Answers
2
Are you accessing the same files on different machine and Eclipse shows characters wrong?
Please look:
Window -> Preferences -> General -> Workspace : Text file encoding
on your Eclipse and check if there is a difference between machines.

mico
- 12,730
- 12
- 59
- 99
-
http://stackoverflow.com/questions/3751791/how-to-change-default-text-file-encoding-in-eclipse was my source. – mico Sep 11 '13 at 12:13
-
1Also, check your project properties in Resource section as well as individual files. They should be all UTF-8. – Szymon Sep 11 '13 at 12:13
0
Either you are using the wrong characters, or the characters are not suported.

durron597
- 31,968
- 17
- 99
- 158

Robin Dijkhof
- 18,665
- 11
- 65
- 116