Details
Description
in ExcelHssfView:
line 127-129 the encoding should be set first: Please Correct this:
wrong:
cell.setCellValue(columnHeader);
cell.setCellStyle(headerStyle);
cell.setEncoding(HSSFCell.ENCODING_UTF_16);
right:
cell.setEncoding(HSSFCell.ENCODING_UTF_16);
cell.setCellValue(columnHeader);
cell.setCellStyle(headerStyle);
This is taken from the documentation:
setCellValue:
set a string value for the cell. Please note that if you are using full 16 bit unicode you should call setEncoding() first.
line 127-129 the encoding should be set first: Please Correct this:
wrong:
cell.setCellValue(columnHeader);
cell.setCellStyle(headerStyle);
cell.setEncoding(HSSFCell.ENCODING_UTF_16);
right:
cell.setEncoding(HSSFCell.ENCODING_UTF_16);
cell.setCellValue(columnHeader);
cell.setCellStyle(headerStyle);
This is taken from the documentation:
setCellValue:
set a string value for the cell. Please note that if you are using full 16 bit unicode you should call setEncoding() first.