newman0708(nch)
-------------------------------------------------------------------------
4)set Sheet Name
wb.setSheetName(0, "Matrix");// set the name of the first sheet
解决中文问题
String str1="矩阵";
wb.setSheetName(0,str1,wb.ENCODING_UTF_16);// set the name of the first sheet
----------------------------------------------------------------------
编译通不过
函数原型为:void setSheetName(int sheet, java.lang.String name)
你的参数就不对啊。。。。
wb.setSheetName(0, "Matrix");// set the name of the first sheet
解决中文问题
String str1="矩阵";
wb.setSheetName(0,str1,wb.ENCODING_UTF_16);// set the name of the first sheet