Custom code page

<< Click to Display Table of Contents >>

Navigation:  Administration >

Custom code page

Previous pageReturn to chapter overviewNext page

The SmartIS PC Client supports custom code pages, which are used to decode data sent by the server.

The code pages must be defined in one of the following files in the program directory or in the directory specified by CONFIG_DIRECTORY option in the INI file.

XIPCC.CCP

XINFO.CCP

SMARTIS.CCP

 

If one of these files exists and contains a valid definition then the custom codepage is added to the select box with other standard codepages at Basic General Options.

 

Sample:

 

source_codepage=(Old) HORIZONT Default

new_codepage=My codepage

map=120,0x50

map=121,0X51

source_codepage=(Old) HORIZONT Default

new_codepage=My codepage 2

map=37,169

 

SOURCE_CODEPAGE
it must be one of standard code pages (see Basic General Options).

 

NEW_CODEPAGE
it is a name of the new code page. The name must not collide with standard code pages.

 

MAP
you can define one or more custom character maps. Each map contains two numbers separated by a comma. The numbers can be in decimal or in hexadecimal format (for example 37 and 0x25 are the same numbers).
Every character whose numerical value matches the first number is mapped to the corresponding second number (character).

 

There can be more than one custom code pages defined in the same file.

The sample above shows two custom code pages. Both are derived from (Old) HORIZONT Default codepage.