我的一段代码,用来产生Unicode文本,在windows上运行产生的文本很正常,但是到了solaris上运行就会在文本开头加个乱码。产生文本的代码如下:
out = new OutputStreamWriter(new FileOutputStream(outputFilePath + pdfFile.getName()), "Unicode");
请问为什么?
out = new OutputStreamWriter(new FileOutputStream(outputFilePath + pdfFile.getName()), "Unicode");
请问为什么?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货