Differences
This shows you the differences between two versions of the page.
— |
5250_and_unicode [2021/04/05 11:23] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 5250 and Unicode ====== | ||
+ | |||
+ | If you Unicode is used on the system then it must be supported, coded and configured on every level: | ||
+ | |||
+ | * data (database or streamfile) | ||
+ | * program (variables) | ||
+ | * output file (display file or printer file) | ||
+ | * device (5250 terminal emulator) | ||
+ | |||
+ | ===== Data ===== | ||
+ | |||
+ | ==== Database ==== | ||
+ | |||
+ | Unicode is supported by DDS and SQL. In SQL it needs to be declared as '' | ||
+ | |||
+ | ==== Program ==== | ||
+ | |||
+ | At the program level the variables need to be defined with a corresponding ''' | ||
+ | |||
+ | dcl-s buffer char(1048576) ccsid(*utf8); | ||
+ | |||
+ | <note important> | ||
+ | ==== Output File ==== | ||
+ | |||
+ | === Display File === | ||
+ | |||
+ | The field in the display file needs to be defined as '' | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | <note important> | ||
+ | ==== Device ==== | ||
+ | |||
+ | The 5250 terminal emulator must support unicode in the data stream. IBM i ACS supports it, see Main Menu → Communication → Configuration → Connection → Unicode Options | ||
+ | |||
+ | < | ||
+ | |||
+ | {{tag> | ||
+ | |||