| TSS Character Sets (tttss0101s000) |  |
| use.session.to edit data for part of a TSS character set. You can only modify character sets that you have already defined in the Character Set Names (tttss0108m000) session. You must enter the range and storage values in decimal notation, but you can enter the input expression and output expression in hexadecimal, decimal or octal: To enter a decimal value, just type the value (for example, 10) To enter a hexadecimal value, prefix it with 0x (zero, x, for example 0xA) To enter an octal value, prefix it with 0 (zero, for example 012) Note To convert between decimal, hexadecimal, octal and binary notation, use the Windows Calculator (calc.exe, in your Windows system folder). You must select Scientific on the view menu of the Calculator. The Input Expression and Output Expression fields, together with the Storage field, are used to convert between NLS characters and TSS characters. Tools also strips the 8th bit from the input character and adds 9B000000 (hexadecimal) to the value (see example). Stripping the 8th bit from a number, means to remove the 8th digit in binary notation. Example 1111 1110 (binary) = FE (hexadecimal) = 254 (decimal) -> 111 1110 (binary) = 7E (hexadecimal) = 126 (decimal) When converting characters between different systems (for example, NLS to TSS), the 8th bit is stripped to obtain the intrinsic character value, which is sometimes needed to address the font. You can use the following expressions in the Input Expression and Output Expression fields:
&n | AND with n
|n | OR with n
+n | ADD n
-n | SUBTRACT n
where n is the input value. Example Values are in hexadecimal, unless otherwise stated. NLS Value (from the Range from and Range To fields): 41377 Input = 41377 (decimal) Convert to hexadecimal 41377 = A1A1 Perform input expression (AND 7F7F) and strips 8th bit = 2121 Add storage value: 230000 + 2121 = 232121 Add internal addition: 232121 + 9B000000 = 9B232121 Note The font and character set that you want to use must also be installed and selected on your personal computer. If your personal computer is running on Windows NT, you might have to change the Regional Settings configuration as follows: The font and character set that you want to use must also be installed and selected on your personal computer. Click the Windows Start button Select Settings Select Control Panel Double-click Regional Settings Choose the appropriate Country and Input Locales If the country or locale you require is not present, you might have to purchase a different regional version of Windows NT. Contact your local Microsoft dealer. The font and character set that you want to use must also be installed and selected on your personal computer. If your personal computer is running on another system, alter the code page. If necessary, install extra fonts to your Fonts folder. You must also ensure that your printer has a suitable device driver, and that it can print the TSS characters. You can link a device to a locale in the Device Data (ttaad3500m000) session. You can change the fonts and NLS that are used by the Display Browser by using the appropriate tabs of the BW Configurator program.
Fields | Description
Name | The name of the TSS character set that you defined in the Character Set Names (tttss0108m000) session.
Name | The description of the TSS character set that you defined in the Character Set Names (tttss0108m000) session.
Seq. | The sequence number of the range of characters in the TSS character set. This value is used for sorting purposes.
Range from | Enter the decimal value of the first in the range of characters for the current sequence. You must not enter a range that includes control characters.
Range To | Enter decimal value of the last in the range of characters for the current sequence. You must not enter a range that includes control characters.
Input Expression | Enter the expression to convert NLS characters into TSS characters. You can use the following expressions:
&n | AND with n
|n | OR with n
+n | ADD n
-n | SUBTRACT n
where n is the NLS character value. You can use the following expressions: &n AND with n |n OR with n +n ADD n -n SUBTRACT n where
    n
is the NLS character value. See the session Help for more details.
Output Expression | Enter the expression to convert TSS characters into NLS characters. You can use the following expressions:
&n | AND with n
|n | OR with n
+n | ADD n
-n | SUBTRACT n
where n is the TSS character value. You can use the following expressions: &n AND with n |n OR with n +n ADD n -n SUBTRACT n where
    n
is the TSS character value. See the session Help for more details.
Storage | The value that is added to the result of the calculation with the value of the Input Expression field. See the session Help for more details.
Description | The description of the character set sequence.
Set | The character-set number. You can define three character sets for each locale: Single byte, single width Multi byte, double width Multi byte, single width. You can assign a separate font to each character set number.
Bytes | Latin character sets (for example, ASCII or ISO 8859) are single byte (8 bit), whereas (for example) Japanese and Hebrew character sets require more memory (usually 4 bytes).