the short version is that your default system encoding has most likely changed (which means that we buggily read something in without specifying). You can change it with -Dfile.encoding.

Matthias Pigulla wrote:
I got the problem fixed - it seems as if it was caused by a combination
of having German umlauts in the sheet names and the JVM I was using
(kaffe 1.1.5 as provided by Debian). I can successfully update my
workbook with poi-2.5.1-final-20040804.jar now.

However, when trying the current CVS snapshot with Sun's JVM (build
1.5.0_05-b05) I found that version seems to choke on cell comments
containing German umlauts.

The following code will create a corrupted copy of the sample sheet
attached:

FileInputStream inFile = new FileInputStream(args[0]);
POIFSFileSystem fs = new POIFSFileSystem(inFile);
HSSFWorkbook wb = new HSSFWorkbook(fs);
FileOutputStream outFile = new FileOutputStream(args[1]);
wb.write(outFile);
outFile.close();

Thanks for the efforts and work you put into making POI and HSSF as
useful as they are :)
Matthias


------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to