Bug 41689

Summary: CustomProperties.setCodePage doesn't work
Product: POI Reporter: Tim Hingeley <thingeley>
Component: HPSFAssignee: POI Developers List <dev>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P4    
Version: 3.0-dev   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Tim Hingeley 2007-02-23 04:18:07 UTC
Calling CustomProperties.setCodePage does not work because it appears to create a CustomProperty 
without a name, and this isn't supported by other areas of the code (such as CustomProperties.put
(CustomProperty).

The workaround is to create your own CustomProperty, set all the attributes and add it to the 
CustomProperties set with CustomProperties.put("PID_CODEPAGE", CustomProperty).
Comment 1 Nick Burch 2010-06-03 12:55:27 UTC
This bug references a very old version of POI. Does the problem as described still apply?
Comment 2 Dominik Stadler 2015-03-01 21:46:36 UTC
No update for a long time => closing this for now. If this is still a problem for you please verify with a recent version of POI and reopen this bug with more information, ideally a unit-test that can be used to reproduce the problem.