Hi, I am using jakarta-poi 3.6 and we have problem in rendering polish characters while doing export to Excel.
As there was no problem in jakarta-poi 3.0 as we were using setEncoding method i.e. (setEncoding(HSSFCell.ENCODING_UTF_16);). Once we upgraded to 3.6 problem comes to render Polish characters and it throws the following exceptions while doing export to excel i.e. org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence. I just checked the 3.6 API and there is no method and need not to do the setEncoding (as method is deprecated) but it said setEncoding automatically done after jakarta-poi 3.2. Any idea if someone has problem in render polish characters and whatz the solution to get rid of above exception (org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.). When I downgraded to 3.0 its works fine with SetEncoding method (as above) but when I use the 3.6 it throws an parse exception (as above) with the same xml file. Thanks Sanjay -- View this message in context: http://apache-poi.1045710.n5.nabble.com/HSSFCell-API-changes-I-do-not-see-setEncoding-in-3-2-tp2303497p3319301.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
