Create a Syntax Token for Asian Languages

About this task

Double-byte character set (DBCS) syntax tokens enable you to create a map that accepts double-byte characters. The DBCS button is active on the Syntax Tokens dialog box if:

  • You are running the Sterling B2B Integrator Map Editor on a Chinese, Japanese, or Korean version of the Windows operating system.
  • You have added font support for one of these languages to a Windows 2000 system.

DBCS tokens are displayed only in the DBCS Syntax Tokens dialog box, not in the list on the Syntax Tokens dialog box.

To create a DBCS syntax token:

Procedure

  1. From the Edit menu, select Syntax Tokens.
  2. Click DBCS.
  3. In the DBCS Syntax Tokens dialog box, select the codepage that most closely matches the character set that you are mapping.

    For example, if you are mapping Japanese characters, use codepage 932.

  4. Click New.
  5. In the Edit DBCS Syntax Token dialog box, in the Token field, type the unique one-character alphanumeric value that the Sterling B2B Integrator Map Editor recognizes as containing the permitted range of characters you designate.
  6. Select the lead byte from the Lead-Byte box.

    Double-byte characters are composed of a lead byte and a trail byte. For example, the character is code point 93F9 (lead byte 93, trail byte F9).

  7. To exclude individual characters or groups of characters from the token (you do this if there are certain characters that you will not accept in your data), make characters unavailable by either:
    • Clicking a character to make it appear shaded
    • Dragging the cursor across a group of characters to make them appear shaded
  8. Click Close to save the syntax token.