我的一段代码,用来产生Unicode文本,在windows上运行产生的文本很正常,但是到了solaris上运行就会在文本开头加个乱码。产生文本的代码如下:
out = new OutputStreamWriter(new FileOutputStream(outputFilePath + pdfFile.getName()), "Unicode"); 
请问为什么?