Hi All,
I am on Windows XP OS, latest
Java SDK and latest Eclipse.
I am reading a
string from an input file, which contains both English and non-English characters. (I have installed on Windows the required support for the other language, so I can read it on Windows apps such as notepad).
While debugging with Eclipse, I see that the string seems to contain the data correctly: both English and non-English chars seems to be Okay.
Now I am converting the string to byte array and write it to the output file. But then when I open that file with notepad, I see that all non-English chars were converted to question marks.
What might be the problem???
Here is the relevant code:
Jericho HTML Parser