i tried with POI 3.6 and got the same error.

I found the following:
http://community.jaspersoft.com/jasperreports-library/issues/3183-0

<snip>

The deprecated method has been removed into the latest version of POI, as of 3-Jan-06 POI now automatically handles Unicode without forcing the encoding.

Commenting the affected code line every things work correctly.

</snip>



so I just commended out the lines(6) containing:

setEncoding(cell:1);


recompiled and it worked for me when testing with the QIWS/QCUSTCDT file.


Bryan


Vern Hamberg said the following on Mon, 4/8/2013 2:12 PM:


Hi all



Am looking at Peter Colpaert's CPYPF2XLS - the version I downloaded does not work with recent versions of POI. It is calling a SetEncoding method of a cell , and that doesn't exist anymore - apparently replaced by the SetCharSet method of a font.



If Peter is listening, do you have a newer version? I know, you give us all the source - thank you, BTW - but I'd just as soon let someone else do this one!



I'm using POI 3.9 - it still works with Scott's POI stuff, which is tested at 3.6.



Cheers

Vern - not at COMMON since a long time!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.