Hi Earnest,
Thanks for the reply.
I have already tried a those things. My Xml files are UTF-8 encoded.
Apart from the the character encoding of my xml reader is also UTF-8.
I am trying to print the output only for trial purpose. In the application,
the data once extracted directly goes into the database(mysql). The database is capable of storing/displaying special character.
Even after all these things the issue remains.
even if I try to print any special character using a simple System.out.println("�"); It appears as '?' on the linux machine.
Now the question remains whether catalina.out(
tomcat logger) has the ability to display special character or not. I tried to open it in different editors , even tried to change the encoding schemes. but the output remained '?'.
So all I can conclude from this java was not able to extract/read the � when hosted in CcentOS environment, which is surprizing considering java is platform independent.
I hope I make my point clear.
Once again, Thanks for showing interest.
Thnaks