4.5 How to use the properties of the Shift_JIS switch function
To use the Shift_JIS switch function, you need to set the following property defined independently by Cosminexus XML Processor.
Set a character encoding as the property value. The following table lists the property values to set and their meanings.
- #1
-
The specified character string is not case-sensitive.
- #2
-
If the specification is ignored, the last specified encoding is valid.
- Important note
-
If the Shift_JIS switch function is not specified, the default encoding is SJIS.
The Shift_JIS switch function property needs to be set for each instance of the classes and interfaces shown below. The following table lists the methods for setting the Shift_JIS switch function. This table lists the methods to use for setting the properties for each class and interface.
The following subsections describe the cases in which to use the Shift_JIS switch function for the DOM parser, SAX parser, and XSLT transformer.