Editing Individual Characters and Ranges of Characters

When you select a custom code page from the list of code pages and press Edit, the Host Code Page Editor opens. Using the Host Code Page Editor, you can modify individual character codes and ranges of code values to add your own End User Defined Characters (EUDCs) to the code page.

To modify a custom host code page
  1. From the list of available host code page tables, select a custom code page, and click Edit.

    The Host Code Page Editor will open. It displays 256 characters from the set of 65535 characters in the full translation table. The character values are arranged using hexadecimal values from xx00 to xxFF. Each hexadecimal value is called a "code point."

  2. From the Sorted By drop-down list, you can choose whether to view the table sorted by HostCode, Unicode, or ANSI/DBCS code values.

    By default the table is arranged by HostCode values.

  3. From the Font drop-down list, select the font you want to display.

    When you select a font, the character glyphs for that font are displayed in the code page table. By default, no font is selected and no characters are displayed in the table.

  4. From the Code Page Range drop-down list, select the range of 256 characters you want to display.

    The Host Code Page editor displays 256 characters from the full table in multiples of 256. From the Code Page Range list, you can select which set of 256 characters you want to view. For example, 0000 - 00FF, 0100 - 01FF, ... FF00 - FFFF.

    When you have selected a font and code range, you will see the character glyphs in that range in the table.

    To
    Do this
    View a character and its code point information Click the character glyph in the table. The Code Point Details panel will display a larger version of the character together with its HostCode, Unicode, and ANSI/DBCS code values. A larger version of the character glyph will also be shown in a pop-up window next to the character.

    You can drag the mouse across the table to see a series of characters in sequence. Whichever character the cursor is over will be shown in the Code Point Details panel.

    Modify a character code point Select a character and then, in the Code Point Details panel, change the translation value(s), and click Modify.

    You can modify whichever values are not selected in the Sorted By field and displayed in the table. For example, if you sort the table by HostCode, the Code Point Details panel displays the selected character's HostCode value, which you cannot modify, and the associated Unicode and ANSI/DBCS values, which you can modify.

    If you have selected a Unicode font and change the Unicode value, or have selected a ANSI/DBCS font and change the ANSI/DBCS value, the table will show the new character glyph associated with the changed value.

    Modify a range of code point values In the Range Modification panel, enter a host code page range in the HostCode From and To fields. (You can only modify a range based on HostCode values.) Then, select the Unicode and/or ANSI/DBCS check boxes, and provide a starting value for the modifications, and click Modify. The table will be updated with the new values. See the Range Modification Scenarios below for some examples.
    To disassociate code page values In the Range Modification panel HostCode field, enter the range of codes you want to disassociate from the existing mappings. Select the Unicode and/or ANSI/DBCS check boxes and leave the From fields blank. When you click Modify, the host code page range of values will no longer be mapped to the Unicode and/or ANSI/DBCS values.
    Search for a particular character In the Fast Find Search panel, select whether you want to do a Unicode, HostCode, ANSI/DBCS or Character look-up and enter the value or character you want to find. If the character is found, the details will be shown in the Code Point Details panel.

    Until you save your changes, any characters that you have modified will be shown with a yellow highlight in the table.

  5. Once you have made your modifications, click OK to save your changes and return to the Translation Table list page.

    You can also select Apply at any time to save changes while you're editing the table. Optionally, you can repeatedly Undo changes back to the last saved version of the table, and Redo changes.

Example Modifications

You can add an EUDC using either the Code Point Details panel or the Range Modification panel.

To add an EUDC to host code value FA40
  • To use the Code Point Details panel
    1. From the Sorted By drop-down list, select HostCode, and then select FA00-FACC from the Code Page Range drop-down list.

    2. From the table, select the character at the FA40 position.

    3. In the Code Point Details panel, change the Unicode or ANSI/DBCS translation value to the value of your new character, and click Modify.

  • To use the Range Modification panel
    1. In the Range Modification panel's HostCode area, enter FA40 in both the From and To fields.

    2. Select the Unicode and ANSI/DBCS check boxes and leave the From values as they are. When you click Modify, the EUDC will be assigned to the custom translation table.

To assign HostCode range 65FE-6FFF to Unicode range 3000-3A01
  1. In the Range Modification panel, enter 65FE in the HostCode From field, and 6FFF in the HostCode To field.

  2. Select the Unicode check box, and enter 3000 in the Unicode From field.

  3. Select Modify.

    When you confirm your selection, the host code page will be assigned to the new Unicode range.

To disassociate Unicode values for the HostCode range 7FFE=8A01
  1. In the Range Modification panel, enter 7FFE in the HostCode From field, and 8A01 in the HostCode To field.

  2. Select the Unicode check box, and keep the Unicode From field empty.

  3. Select Modify.

    When you confirm your selection, the host code page range will no longer be associated with the corresponding Unicode values. You can confirm your changes by looking at these values in the table – no characters will be associated with this range.

Related Topics
Bullet Host Code Page Editor, Overview
Bullet Creating a Custom Host Code Page
  Attachmate