Home | AccelMan help | Back | Forward
AccelMan ASCII viewer supports default Windows Code Page only. If processing file has different encoding - it must be recoded to Windows Code Page before loading into editor and back on save. For this purposes AccelMan uses Recoding Tables.
All tables are placed in subdirectory Recoding of root folder (C:\Program Files\AccelMan\Recoding on default installation).
You can add a new recoding table. Create new file according following rules and place to Recoding directory. Then restart of AccelMan the new recoding table appears in list of available tables.
1. File must have *.RecoderTable extension.
2. Syntax of this file identical to standard initialization files:
2.1. Line, beginning from semicolon (;) is ignored (comment line).
2.2. Section name must be enclosed in square brackets ( [] ). E.g. [Header].
2.3. Variable in section has name and value separated with equal symbol (=). E.g. Name=Value.
2.4. Lines may be separated with any number of empty lines.
3. Recoding table file must include following sections:
3.1. Header
This section must include name of recoding table as value of Name variable. This name will be displayed in list without changes.
For example:
[Header]
Name=DOS 866
Advise: do not use very long names - they will be cut on button caption in preview window.
3.2. Recoding
This section used for recoding from file format to Windows Default Code Page on loading file to preview or edit. Section must contain values for all need changes. Values format: XX=YY, where:
XX - source symbol code,
YY - target symbol code.
Source symbol will be replaced by target symbol. XX and YY may be represent in each of two forms:
Decimal: 255=233
Hexadecimal: $FF=$E9 (with leading dollar sign ($)).
If symbol is not present in this section - it will not be replaced.
For example:
[Recoding]
$10=$11
233=255
$20=123
In this case all symbols with code 16 will changed by symbols with code 17, symbols with code 233 - by symbols with code 255 and symbols 'a' by symbols 'c', etc. All other symbols stay unchanged.
After creating Recoding table file AccelMan must be restarted. If after restarting new recoding table will not appear in list of available tables - refer to recoder.log file in default recoder directory for error messages.