Bug 35597

Summary: [PATCH] Codepage support on J2SE 1.3
Product: POI Reporter: Daniel Andefors <daniel.andefors>
Component: HPSFAssignee: POI Developers List <dev>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P2    
Version: 3.0-dev   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: Patch (unified diff) VariantSupport.java 1.15

Description Daniel Andefors 2005-07-04 16:19:50 UTC
Codepage support for J2SE 1.3 is broken (as documented in HPSF HOW-TO). However,
IMO it doesn't have to be. For example, the encoding "cp1252" will raise a
java.io.UnsupportedEncodingException on J2SE 1.3 but "Cp1252" (with a
capitalized C) will not. I've successfully tested this patch on the following
Sun VMs: 1.3.1_08-b03, 1.4.2_06-b03, 1.5.0_03-b07, 1.6.0-ea-b34.
Comment 1 Daniel Andefors 2005-07-04 16:22:45 UTC
Created attachment 15586 [details]
Patch (unified diff) VariantSupport.java 1.15
Comment 2 Rainer Klute 2006-02-03 20:50:41 UTC
Doing something for J2SE 1.3 isn't worth the effort especially if the risk
remains that applications under younger JREs break.