Convert SJIS to CP932

Operation Name

Convert SJIS to CP932

Function Overview

Convert specific characters encoded with SJIS of input data to CP932 character code.

Data Model

Same as the data model of input component.
For more details on input/output schema, refer to “Schema”.

Properties

For details on use of variables, refer to “Variables”.
Basic settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name to show on the script canvas.  
Input data Required Not available Select a 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

Same as the schema of input component.

Mass Data Processing

Mass Data Processing is supported.

When the setting of input source component is to perform Mass Data Processing, then it will be performed automatically.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
count The number of converted characters is stored.
  • Default value is null.
message_category When an error occurs, the corresponding message code's category is stored.
  • Default value is null.
message_code When an error occurs, the corresponding message code is stored.
  • Default value is null.
message_level When an error occurs, the corresponding message code's severity is stored.
  • Default value is null.
error_type When an error occurs, the error type is stored.
  • Default value is null.
  • The error type will be in the following format.
    Example: “java.io.FileNotFoundException”
  • The contents that will be stored may vary depending on DataSpider Servista versions.
error_message When an error occurs, the error message is stored.
  • Default value is null.
  • The contents that will be stored may vary depending on DataSpider Servista versions.
error_trace When an error occurs, the error's trace information is stored.
  • Default value is null.
  • The contents that will be stored may vary depending on DataSpider Servista versions and client applications.

Characters to be converted

The characters to 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

Major Exceptions

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