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 ;)