摘要:
【GBK转UTF-8】 在很多论坛、网上经常有网友问“为什么我使用 new String(tmp.getBytes("ISO-8859-1"), "UTF-8") 或者 new String(tmp.getBytes("ISO-8859-1"), "GBK")可以得到正确的中文,但是使用 new String(tmp.getBytes("GBK"), "UTF-8") 却不能将GBK转换成UTF... 阅读全文
摘要:
package example.encoding;import java.io.UnsupportedEncodingException;/** *//*** The Class GetCharTest.*/public class GetCharTest { /** *//** * The main method. * * @param args the ar... 阅读全文