You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Jaroslaw Puszczynski <ja...@comarch.pl> on 2005/04/12 16:00:32 UTC
UnsupportedEncodingException
Hello all
I'm trying to write my own properties to word document (to store
chcecksum). I've compiled poi (all new versions from cvs) to have
mutableclasses. When i run my program i have error
UnsupportedEncodingException in line with
PropertySetFactory.create(event.getStream()) (when opening polish
document coding 1250). Can anyone tell me what is wrong?
I'm not sure that my poi.jar is correct, so can anybody send
me correct compiled jar file (with mutable classes)?
Thx for any help
Jarek
--
Have your technology breathing
http://technologybriefing.comarch.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-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: UnsupportedEncodingException
Posted by Jaroslaw Puszczynski <ja...@comarch.pl>.
Thanks for help this is it. Wrong version of sdk. Now it's ok
Uz.ytkownik Rainer Klute napisa?:
> Am Dienstag, den 12.04.2005, 16:00 +0200 schrieb Jaroslaw Puszczynski:
>
>>I'm trying to write my own properties to word document (to store
>>chcecksum). I've compiled poi (all new versions from cvs) to have
>>mutableclasses. When i run my program i have error
>>UnsupportedEncodingException in line with
>>PropertySetFactory.create(event.getStream()) (when opening polish
>>document coding 1250). Can anyone tell me what is wrong?
>>I'm not sure that my poi.jar is correct, so can anybody send
>>me correct compiled jar file (with mutable classes)?
>
>
> The reason for this type of problem is not POI, but your Java runtime
> environment. You are probably using an older Java version which does not
> support a character encoding named "cp1250". You must at least use JDK
> 1.4.
>
> Best regards
> Rainer Klute
>
> Rainer Klute IT-Consulting GmbH
> Dipl.-Inform.
> Rainer Klute E-Mail: klute@rainer-klute.de
> Körner Grund 24 Telefon: +49 172 2324824
> D-44143 Dortmund Telefax: +49 231 5349423
>
> Inhibit software patents: http://www.nosoftwarepatents.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
> Mailing List: http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
>
>
--
Have your technology breathing
http://technologybriefing.comarch.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-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: UnsupportedEncodingException
Posted by Rainer Klute <kl...@rainer-klute.de>.
Am Dienstag, den 12.04.2005, 16:00 +0200 schrieb Jaroslaw Puszczynski:
> I'm trying to write my own properties to word document (to store
> chcecksum). I've compiled poi (all new versions from cvs) to have
> mutableclasses. When i run my program i have error
> UnsupportedEncodingException in line with
> PropertySetFactory.create(event.getStream()) (when opening polish
> document coding 1250). Can anyone tell me what is wrong?
> I'm not sure that my poi.jar is correct, so can anybody send
> me correct compiled jar file (with mutable classes)?
The reason for this type of problem is not POI, but your Java runtime
environment. You are probably using an older Java version which does not
support a character encoding named "cp1250". You must at least use JDK
1.4.
Best regards
Rainer Klute
Rainer Klute IT-Consulting GmbH
Dipl.-Inform.
Rainer Klute E-Mail: klute@rainer-klute.de
Körner Grund 24 Telefon: +49 172 2324824
D-44143 Dortmund Telefax: +49 231 5349423
Inhibit software patents: http://www.nosoftwarepatents.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/