| 发表于:2007-07-28 15:50:45 楼主 |
我的程序是这么写的: public static void main(string args[]) { string str = "裏 "; bufferedwriter bw = null; try { bw = new bufferedwriter( new outputstreamwriter(new fileoutputstream( "f:/test.txt "), "big5 ")); bw.write(str); } catch (exception e) { e.printstacktrace(); } finally { try { bw.close(); } catch (exception ex1) { } } } 别的繁体字都可以,就个别的繁体汉字不行,请各位大虾看看: |
|
|
|
|