Specify Substitutions

After the conversion, the Unicode data may contain characters that are identical in meaning, but different in appearance. For example, a full-width tilde (~) and a half-width tilde have different values in Unicode, but can be considered identical during processing.

You can use the Round Trip Safety Configuration utility to specify that specific pairs of similar characters be substituted by a single character. For example, you can specify that both widths of tilde are substituted by a full-width tilde.

On the Substitution tab, the first column contains pairs of characters that generally mean the same thing, but are represented by different values in Unicode. Each row represents a substitution rule. The first column lists the data before conversion. The second column lists the possible replacement characters.

Procedure

  1. Start the Round Trip Safety Configuration utility in the c10_location/bin:
    • for Microsoft Windows operating system, rtsconfig.exe
    • for UNIX operating system, rtsconfig
  2. Click the Substitution tab.

    Tip: To see the glyph next to the Unicode character, from the View menu, click Glyphs. Depending on the type and size of fonts you use, some glyphs may not be visible.

  3. In the Original Code column, click the character that you want to substitute.
  4. In the Substitute Code column, click the equivalent character.

    A list of possible substitution options appears.

  5. In the list, click the Unicode character that you want to use, or click Do not substitute.
  6. Repeat steps 3 to 5 for each Unicode character that you want to substitute.
  7. Save your specifications using one of the following methods:
    • To only save your specifications, from the File menu, click Save.
    • To save and apply your specifications, from the Tools menu, click Configure.

    If you only save, you can apply your specification later. For more information, see Specify Conversions. You can also restore default settings. For more information, see Restore the Default Conversion Settings.

    The specifications are saved in the file shift-jis.xml in the c10_location/bin directory.