I tried to use the InputStreamReader to convert String that retrieve from a html page from Big5 to UTF-8.
previously, it works fine with jdk 1.5
After i upgraded to jdk 1.6 , it returns me the error as below
at sun.nio.cs.StreamDecoder.forInputStreamReader(Unknown Source)
at java.io.InputStreamReader.<init>(Unknown Source)
I find that the charset supported by both version are different
How to make it work in 1.6 if i want to use some charset that previously supported ?
thanks in advance