Spanish characters in Android Studio

Dv Apps picture Dv Apps · Jul 5, 2013 · Viewed 9.3k times · Source

I've got a problem with Android Estudio, i'm trying to develope an application but the characters like "¿" or "ñ" and "á,é,ó,í,ú" don't appear correctly when i run the application. I've tried to solve the problem changing the encoding to UTF-8 but it doesn't matter nothing different. Can anyone help me? Thanks

Answer

Dennis Kriechel picture Dennis Kriechel · Jul 5, 2013

You can solve this problem by using Unicode Characters:

http://javawiki.sowas.com/doku.php?id=java:unicode

Just replace the Number by the respective char you need:

http://unicode-table.com/de/#0115

For Example:

¿ = \u00BF
ñ = \u0148 
á = \u0227
é = \u00E9

Hope this is what u needed ;)