[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-j-dev
Subject:    Re: XMLSerializer, OutputFormat and encoding = "SHIFT_JIS"
From:       Ito Kazumitsu <ito.kazumitsu () hitachi-cable ! co ! jp>
Date:       2000-09-29 6:41:14
[Download RAW message or body]

In message "Re: XMLSerializer, OutputFormat and encoding = "SHIFT_JIS""
    on 00/09/29, Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp> writes:

> Attached is a patch for solving this problem.

Sorry, the Java encoding name for "SHIFT_JIS" should have been "SJIS".


["Encodings.diff" (application/octet-stream)]

--- org/apache/xml/serialize/Encodings.java.orig	Sat Sep  2 06:21:58 2000
+++ org/apache/xml/serialize/Encodings.java	Fri Sep 29 15:31:18 2000
@@ -178,6 +178,7 @@
         new EncodingInfo( "ISO-8859-7", "ISO8859_7", 0xFF ),

         new EncodingInfo( "ISO-8859-8", "ISO8859_8", 0xFF ),

         new EncodingInfo( "ISO-8859-9", "ISO8859_9", 0xFF ),

+        new EncodingInfo( "SHIFT_JIS", "SJIS", 0xFFFF ),

         new EncodingInfo( "UTF-8", "UTF8", 0xFFFF ),

         new EncodingInfo( "UNICODE", "Unicode", 0xFFFF )

     };




---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic