You need to set UTF-16 encoding for each cell, like this:

    HSSFCell cell = ...;
    cell.setEncoding(HSSFCell.ENCODING_UTF_16);



Best regards,

Robert Lowe
http://RMLowe.com/



-----Original Message-----
From: T " <[EMAIL PROTECTED]> [mailto:T "
<[EMAIL PROTECTED]>]
Sent: Friday, December 19, 2003 11:03 PM
To: [EMAIL PROTECTED]
Subject: Character encoding


Hi,
I am new to POI and I am using HSSF for now. I create
xls files but there is a problem with character
encodings, when I send Turkish characters from my java
class to xls file I can not see them properly, but
when I open the file and type the same characters
manualy there is no problem. I think there is some
setting values but I could not find them. Can anyone
help?

Thanks

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

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




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

Reply via email to