You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Nishant Rao <kn...@hotmail.com> on 2002/12/16 22:19:14 UTC

charsets and encodings with HSSF

Hi,

If an excel file has Japanese data which is in Shift_JIS, how does it get 
retrieved -- I guess we need to set the encoding with the 
HSSFCell.setEncoding(...) method? But the list of expected encodings does 
not include Shift_JIS. So then how should we read/extract this data ?

thanks,
nishant




_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


Re: charsets and encodings with HSSF

Posted by "Andrew C. Oliver" <ac...@apache.org>.
use UTF_16.  I had no idea what I was talking about. .  Just think of 
that as "wide characters"...

-Andy

Nishant Rao wrote:

> Hi,
>
> If an excel file has Japanese data which is in Shift_JIS, how does it 
> get retrieved -- I guess we need to set the encoding with the 
> HSSFCell.setEncoding(...) method? But the list of expected encodings 
> does not include Shift_JIS. So then how should we read/extract this 
> data ?
>
> thanks,
> nishant
>
>
>
>
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> -- 
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
>
>