poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <n...@torchbox.com>
Subject Re: how to read unicode data from xls sheet
Date Tue, 06 Nov 2007 10:28:14 GMT
On Mon, 5 Nov 2007, teena21 wrote:
> i want to read a unicode data from an excel sheet by using HSSF it 
> doesn't show unicode data.

If the cell is set to unicode, then when you read a string out of it, poi 
will give it to you as unicode.

If you want to put unicode into a cell, just save it, and poi will do the 
right thing. (You don't need to set the encoding to 
HSSFWorkbook.ENCODING_UTF_16 any more, as that's all handled internally 
for you)


To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org

View raw message