It said error with "java.io.UnsupportedEncodingException"
What should I use?
Thank you very much!!
It said error with "java.io.UnsupportedEncodingException"
What should I use?
Thank you very much!!
Hi onlymengmei,
Please forgive me but what's "GBK". I know a lot of JME acronyms but sometimes my mind is clouded. Please clarify!
BR,
It is a character encoding.
I need to transfer a String to byte[], using statement "String.getByte("GBK");"
and get chinese from New String(byte[],"GBK");
But It said error with "java.io.UnsupportedEncodingException" when go to it;
So does UTF8 and GB2312
When I use "System.getProperty("microedition.encoding");" ,and then get the encoding "ISO8859_1"
It can not transfer to chinese correctly, though it does not appear error above
What should I deal with it?
Thank you very much!!