Community
Participate
Working Groups
Created attachment 117254 [details] Shift_JIS encoded XML file Fixing bug 251748 seems to have introduced a problem with the XMLContentDescriber where it will set the CHARSET to UTF-8 when the encoding="Shift_JIS". It looks like this was a result of using the InputStreamReader with a charsetName="UTF-8" when the content is actually Shift_JIS. The result of trying to do a readLine on the inputstreamreader is a MalformedInputException. I've attached an example file.
Could you double check against M3? I can open the file without errors and its encoding is properly resolved to Shift_JIS. I'm attaching the screen shot of what I see in Eclipse when the file is opened.
Created attachment 117651 [details] The screenshot
Created attachment 117659 [details] shift_JIS with 1.5 This might be a VM-dependent issue. I launched Eclipse 3.5M3 with 1.6 and it seemed like the charset was correctly set on the file. When I relaunched Eclipse with 1.5, I got an editor part that said "Character Encoding Problems". I've attached a screenshot of what I'm seeing with the 1.5 VM.
This issue is reproducible only on IBM VM 1.5. Sun VM works fine.
Created attachment 117894 [details] Fix v01
Released to HEAD.