Hi all,
I'm trying to write an app for Symbian UIQ (encoding: cp1252)
This app simpily read a text file and ouput the result in the textField.
The file I tried to read contained Traditional Chinese characters.
when I tried to read a file using the following codes:
BufferedReader in = new BufferedReader(
new InputStreamReader(
new FileInputStream(filename, "MS950")
)
);
It gave me a java.io.UnsupportedEncodingException, I've tried to replace MS950 with cp950, big5.....
it still gave me unsupported encoding exception....
If I dont specify the character encoding, the text cannot display properly.
can anyone give me suggestions to handle the problem?
many thanks!
Rick,