System i Hebrew CCSIDs (Magic xpa 4.x)
This Technical Note describes Magic xpa's System i Hebrew keywords and demonstrates the effect of these keywords along with the new CCSIDs.
Enhanced Bidirectional (Bidi) Support
From the Domino for iSeries release 5.0.2 and onwards, the following CCSIDs are available, which use the enhanced V4R4 Bidi support:
-
62211 - Hebrew implicit left to right
-
62235 - Hebrew implicit right to left
-
62245 - Hebrew implicit contextual left to right
The OS/400 operating system is shipped with an IW_IL.LOCALE environment, which is created with CCSID 424. You can create new Bidi environments for Domino on iSeries by using the three new CCSIDs with the create locale command (CRTLOCALE).
To make this new environment available, set the QNOTES user profile to point to your new locale.
For more information on creating a locale using one of the new CCSIDs and the Hebrew locale source, see the Locale support chapter in the International Application Development (SC41-5603) book.
New Keywords – Only for CCSID-424
HEB_MIX
Starting with V9.4, eDeveloper for iSeries provides the HEB_MIX keyword. This keyword lets you display and insert a mix of Hebrew and other characters, such as English characters and numbers.
The HEB_MIX keyword is set in the Field property (Database Information) and used with the FLIP_HEBREW keyword.
FLIP
The FLIP=Y keyword now has some new functionality.
The FLIP=Y keyword in the Database Properties will do the following when using the Get Definition utility:
-
Adds H to the picture definition
-
Adds FLIP=Y to the Field property
FLIP Hebrew
The FLIP_HEBREW keyword should be set in the AS/400 DBMS setting (next to the LANGUAGE= keyword) and in the DB2/400 DBMS setting.
Note:
-
You should not set the keywords on the Database, Table, or Key level.
-
You should not use FLIP=Y and HEB_MIX together.
-
In Runtime mode, FLIP=Y should be removed from the Database Properties and should be specified with the FLIP_HEBREW keyword in the DBMS setting only.
|
|
|
CCSID 424
|
|
|
|
âøâåøé
|
éøåâøâ
|
|
àðé ëåúá ENGLISH
|
ENGLISH áúåë éðà
|
|
ìëúåá English 2 HEB
|
áåúëì English 2 HEB
|
CCSID 424 with keyword: Hebrew FLIP
|
|
âøåøé bbbbbbbb (b=blank)
|
bbbbbbbbâøâåøé
|
|
2 write úéøáò
|
úéøáò etirw 2
|
|
Note: Do not use Hebrew Flip for Mixed Hebrew/Num/Latin.
|
CCSID 424 with Keyword: Hebrew MIX
|
|
2 write òáøéú
|
2 write úéøáò
|
|
English àðé ëåúá
|
English áúåë éðà
|
New CCSIDs: 62235 – Without keyword H in Field Level (Field size attribute)
|
|
English 2 àáà
|
English 2 àáà
|
|
àáøäí
|
àáøäí
|
New CCSIDs: 62235 – With keyword H in Field Level (Field size attribute)
|
|
bbbbbäðëù
|
bbbbbùëðä
|
New CCSIDs: 62245
|
|
äðëù
|
bbbbbùëðä
|
|
Alex éøåâøâ
|
bbbbb Alex âøâåøé
|
|
Gregory 2 àìëñ
|
Gregory 2 ñëìà
|
New CCSIDs: 62211
|
|
éøåâøâ
|
âøâåøé
|
|
éøåâøâ Alex
|
âøâåøé Alex
|
|
2 âøâåøé Alex
|
éøåâøâ 2 Alex
|