Hello!

The encoding as far as I know supported only for cell values (8bit and
Unicode).
Just today I have made some approvement for Unicode sheet name.
The other developers and committers haven't checked it yet. %)

As for Header you can wait while somebody writes what you need.
Or another opportunity - write the needed code yourself.

I will look at HSSFHeader in a day or two.
If it can be maid Unicode I will try to make it Unicode or may be help you
to make it Unicode.

Sergei Kozello.


----- Original Message -----
From: "Chaiwat Rujimethabhas" <[EMAIL PROTECTED]>
Newsgroups: gmane.comp.jakarta.poi.user
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 13, 2002 8:46 AM
Subject: POI 2 EXCEL, set header/footer problem


> 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