Convert CP932 to SJIS

Operation Name

Convert CP932 to SJIS

Function overview

Converts specific character encoded in CP932 in the input data to SJIS character code.

Data Model

The data model of this component is the same as the data model of the input source component.
Refer to "Schema" for input/output schema.

Properties

For information about using variables, refer to "variables".
Basic settings
Item name Required/Optional Use of Variables Description Remarks
Name Required Not available Enter the name on the script canvas.  
Input data Required Not available Select the component on the script canvas.  
Comment
Item name Required/Optional Use of Variables Description Remarks
Comment Optional Not available You can write a short description of this adapter. The description will be reflected in the specifications
 

Schema

The same as the schema of the input source component.

Mass data processing

Mass data processing is supported.

Performs large volume data processing when the component of the input source is set to perform large volume data processing.

PSP Usage

PSP is not supported.

Available Component variables

Component variable name Description Remarks
count The number of characters converted.
  • The value defaults to null.
message_category Stroes the category to which corresponding message code belongs to, when an error occurs.
  • The value defaults to null.
message_code Stores its corresponding message code of occured error.
  • The value defaults to null.
message_level Stores the severity of the corresponding message code of the occured error.
  • The value defaults to null.
error_type Stores the type of the occured error.
  • The value defaults to null.
  • Error is represented in the format depicted below.
    Example:java.io.FileNotFoundException
  • The message may vary depending on the DataSpider Servista version.
error_message Stores the error message for the occured error.
  • The value defaults to null.
  • The message may vary depending on the DataSpider Servista version.
error_trace Stores stack trace of the occurred error.
  • The value defaults to null.
  • The message may vary depending on the DataSpider Servista version or the client application used.

Characters to be converted

Certain characters that will be converted are as follows.
Characters Mapping from SJIS to Unicode Mapping from CP932 to Unicode
0x2014 0x2015
0x301c 0xff5e
0x2016 0x2225
0x2212 0xff0d
0x00a2 0xffe0
0x00a3 0xffe1
0x00ac 0xffe2

Specification Limits

Main exceptions

Exception name Cause Solution
InputDataNotFoundException [Input data] is not specified. Specify the [Input data], or draw the data flow.