目的
This Technical Note describes 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.
Notes:
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.
Examples
CCSID |
xpa |
Native |
CCSID 424 |
|
|
|
ラ潰ィラ潰勉ィラ・/p> |
ラ燮ィラ勉潰ィラ・/p> |
|
ラ碩 ラ・ラ嶼勉ェラ・ ENGLISH |
ENGLISH ラ泰ェラ勉・ラ燮 ラ・/p> |
|
ラ慵嶼ェラ勉・English 2 HEB |
ラ泰勉ェラ嶼・English 2 HEB |
CCSID 424 with keyword: Hebrew FLIP |
||
|
ラ潰ィラ勉ィラ・bbbbbbbb (b=blank) |
bbbbbbbbラ潰ィラ潰勉ィラ・/p> |
|
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 ラ碩 ラ・ラ嶼勉ェラ・/p> |
English ラ泰ェラ勉・ラ燮 ラ・/p> |
New CCSIDs: 62235 窶・Without keyword H in Field Level (Field size attribute) |
||
|
English 2 ラ碩泰・/p> |
English 2 ラ碩泰・/p> |
|
ラ碩泰ィラ蕃・/p> |
ラ碩泰ィラ蕃・/p> |
New CCSIDs: 62235 窶・With keyword H in Field Level (Field size attribute) |
||
|
bbbbbラ蕃 ラ嶼ゥ |
bbbbbラゥラ嶼 ラ・/p> |
New CCSIDs: 62245 |
||
|
ラ蕃 ラ嶼ゥ |
bbbbbラゥラ嶼 ラ・/p> |
|
Alex ラ燮ィラ勉潰ィラ・/p> |
bbbbb Alex ラ潰ィラ潰勉ィラ・/p> |
|
Gregory 2 ラ碩慵嶼。 |
Gregory 2 ラ。ラ嶼慵・/p> |
New CCSIDs: 62211 |
||
|
ラ燮ィラ勉潰ィラ・/p> |
ラ潰ィラ潰勉ィラ・/p> |
|
ラ燮ィラ勉潰ィラ・Alex |
ラ潰ィラ潰勉ィラ・Alex |
|
2 ラ潰ィラ潰勉ィラ・Alex |
ラ燮ィラ勉潰ィラ・2 Alex |