I was doing my project about JSP, query data from oracle8i, and trying
to export the result into EXCEL file by using JAKATA POI. The result
is ... It's worked with International language. (Thai language with
help "setEncoding()" method.)

HSSFCell cell = row.createCell();
cell.setEncoding((short)1);
cell.setCellValue(" thai fonts here ");

Next is my problem. I able to set header/footer of EXCEL file but I
can't use Thai language in here because it's not "setEncoding()"
method in "HSSFHeader" then the output of header/footer is
square(unreadable) [] [][][][].

HSSFHeader head = sheet.getHeader();
head.setCenter(" thai fonts here ");

Did I something wrong? or How to fix it? Thank you for join us.







--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to