Hello friends,
I have a basic doubt wrt to ensuring internationalization support in
Java applications. In my Java code, I try to "enforce" UTF8 encoding by doing:
However, when the data value in the database is
, the resultant
string is mangled up :
However if I remove the encoding and just retain the String in the above code:
the output is fine:[CODE]Localiza��o Amostra[/CPDE]
I am collecting information on the database but it might be UTF-16 as well. I am unclear on what I am doing wrong and what I should be doing to ensure internalionalization completely.
Could any kind soul pl help?
Thanks.