to hexiaofeng() String txt = "你好";byte [] out;out=txt.getBytes("gb2312"); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 error:unreported exception:java.io.UnsupportedEncodingException;must be caught or declared to be thrown. String txt = "你好";byte [] out;out=txt.getBytes("gb2312");就是这个意思 按按钮,控制台不能输出(监听器问题) 一个java大小写问题 一个获取用户名和IP地址的问题 一个ireport+jasperreports报表的一个最最基础的问题 神啊,救救我啊! 如何在单机上作网络应用程序的测试? 我的applet为什么不显示,up有分 一定送分!!!一个简单的JDBC问题!!! java排列组合 请问如何实例化内部类数组 是否从textField(AWT)只能得到String? java类帮助手册
unreported exception:java.io.UnsupportedEncodingException;
must be caught or declared to be thrown.
byte [] out;
out=txt.getBytes("gb2312");就是这个意思