I have issue with spanish characters in java string. I have a content in a file and when i try to transform it to java object using InputStreamReader, the output of some string is “cómo” which should be “cómo”. This is happening other spanish like
á = á
é = é
í = Ã
ó = ó
ú = ú
and more..
Could you please help me to convert it appropriate output.
Thanks in advance
Have you tried to specify the character encoding in the constructor of
InputStreamReader, like so: