Bug 18440 - [RFE]Add attriubute "default encoding" to HSSFWorkbook
Summary: [RFE]Add attriubute "default encoding" to HSSFWorkbook
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-dev
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-28 04:13 UTC by Toshiaki Kamoshida
Modified: 2006-07-26 03:22 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toshiaki Kamoshida 2003-03-28 04:13:41 UTC
Because of same reason of Bug 18404,I hope to add this attribute.
I hope,if once user setted an attribute about encoding to HSSFWorkbook 
instace,he need not to care about this at each HSSFCell object.

1.Add "default encoding" attribute to HSSFWorkbook and add setter/getter method.
2.When a HSSFCell instance is created in the HSSFWorkbook instance,constractor 
of HSSFCell set automatically a copy of this attribute to itself.

And if you can,set default encoding automatically based upon the Locale of JVM
(e.g by using java.util.ResouceBundle).
Comment 1 Toshiaki Kamoshida 2003-03-28 04:35:39 UTC
Now,constant value about it already exist in HSSFWorkbook.
But it is worked only setting each sheet's name.
Comment 2 Jason Height 2006-07-26 10:22:08 UTC
All unicode strings (i think i caught them all) now write out correctly, this
includes the sheet name as you descibe, plus headers & footers and a host of
others that i cant remember.

Jason