You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Ivan S <on...@mail.ru> on 2006/12/12 08:33:32 UTC

POI, Excel, charset 1251

hi ! 
my Java program create Excel file where i tried fill in cell by Cp1251 (rus/cyrilic) string charcode 
but in Excel app this strings looks like this : "!""""&#253;&#253;&#253;&#253;&#253;&#253;&#253;&#253;&#253;&#253; 

charset of java source file is Cp1251;
java source compile with default charset (Cp1251) without any warning;
Cp1251 strings in my java source looks good;
Excel 2003
java ver. = 1.6
POI-2.5.1
...
in Exl result file my Cp1251 strings broke (unreadeble looks)
:(

could you please help me ?

thanks,
ivan s.



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: POI, Excel, charset 1251

Posted by Yegor Kozlov <ye...@dinom.ru>.
Use unicode.

http://jakarta.apache.org/poi/faq.html#faq-N100A4  FAQ #11.

Regards,
Yegor
IS> hi ! 
IS> my Java program create Excel file where i tried fill in cell by Cp1251 (rus/cyrilic) string charcode 
IS> but in Excel app this strings looks like this : "!""""&#253;&#253;&#253;&#253;&#253;&#253;&#253;&#253;&#253;&#253; 

IS> charset of java source file is Cp1251;
IS> java source compile with default charset (Cp1251) without any warning;
IS> Cp1251 strings in my java source looks good;
IS> Excel 2003
IS> java ver. = 1.6
IS> POI-2.5.1
IS> ...
IS> in Exl result file my Cp1251 strings broke (unreadeble looks)
IS> :(

IS> could you please help me ?

IS> thanks,
IS> ivan s.



IS> ---------------------------------------------------------------------
IS> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
IS> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
IS> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/