Using POI 3.9 I get strange issues with encoding. Running under CentOS release 5.9 (Final)
I have written an application that takes an xls file as a template and reads a csv file and outputs another xls file containing the data and images referenced in the csv file in rows. It uses the formatting from the template file. When my POI using applications jar file is run from the command line a correctly formatted xls file is generated from an xls file used as a template with imported utf-8 data generating correctly accented characters in the result xls file. When the POI using application is run by a server process running as root on the same box the character encoding of the generated cells is iso-8859-1 and the accented characters become pairs of unknown characters in the xls. I imagine that it is picking up some Locale setting and doing the wrong thing. It would be nice to be able to override this. Now it could be the csv file library (au.com.bytecode.opencsv) rather than POI -- View this message in context: http://apache-poi.1045710.n5.nabble.com/HSSFCell-API-changes-I-do-not-see-setEncoding-in-3-2-tp2303497p5713419.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]
