While reading Czech characters, some of Latin characters with caron (Ex: Č, č, ď, ě, ň, ř, ť, ů), these characters displayed as '?', we tried to fix it through generate Unicode using native2ascii tool in jdk for these characters we can't generate the Unicode properly, please give us a quick solution/references/suggestions.
Two things I'd check first are:
1) Are you using the correct input encoding with native2ascii? If your .java file was saved using a different encoding than native2ascii uses to read it, then it might not work properly.
2) Are you sure that whatever you're using to view the output of your program is able to display those characters, regardless of encoding?
Those mentioned charcters comes under Latin script, the encoding convertor for that is ISO-8859-1 and I used this encoding to generate the ascii using native2ascii.exe and the .java file encoding as ISO-8859-1, but still these characters are displayed as '?' with any encoding convertion.
While running the same code in Java 1.6 it's working fine without encoding also, but I have problem on Java 1.5(we are using Java 1.5).