Summary: | (RFE: Unicode Custom Number formats. ) Corrupted, but readable excel file is generated. Excel displays "File error. Some number formats may have been lost." on open. | ||
---|---|---|---|
Product: | POI | Reporter: | Victor Arabadjiyski <victor> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alaskausaroutingnumber |
Priority: | P3 | ||
Version: | 2.0-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: |
Template file
Generated Excel file (corrupted) |
Description
Victor Arabadjiyski
2002-09-22 06:50:10 UTC
Created attachment 3165 [details]
Template file
Created attachment 3166 [details]
Generated Excel file (corrupted)
There are what I presume is an extended character in the custom number formats saved in the file. I bet HSSF is trying to render them as 8-bit ("compressed unicode") strings. That of course is not going to work. Since this area has been recently enhanced please try this with the 1.8 development release and report back. Success! Development release 1.8 fixes this. Generated Excel file is read without any problems or error messages. Good work, guys! Excellent. Because this is a 2.0 feature, I'm marking it fixed in the 2.0-dev series. This feature won't be backported to 1.5.x. |