Understanding Hindi enablement
Specifying Hindi monospaced font for Windows 2000 and Windows XP
Modifying a session configuration
Switching keyboards between Hindi and Latin
Identifying language shift status
Using cut, copy and paste functions
Understanding the behavior of the arrow, Backspace, Delete and Insert keys
Reviewing supported platforms
Hindi sessions run on the Windows 2000 and Windows XP operating systems. Select the Indic language group while installing Windows. After installation, you can change the language group to Indic:
- Select Settings > Control Panel > Regional Options > General.
- Select Indic for the Language settings for the system field.
- Reboot the system.
Supported browsers
The following browsers are supported for Hindi enablement of Z and I Emulator for Web:
- Netscape 4.7
- Netscape 6.0
- Internet Explorer 5.0
- Internet Explorer 6.0
Supported plug-ins
The IBM Java 2 Plug-in and Sun Java 2 Plug-in (JRE1.4) are supported for Hindi enablement of Z and I Emulator for Web.
Sun Java 2 Plug-in (JRE1.3) is not currently supported because the plug-in is not composing Hindi Unicode characters. |
To use the IBM Java 2 Plug-in with supported versions of Netscape and Internet Explorer, do the following:
- Download the IBM Java 2 Plug-in from http://www.ibm.com/developerworks/java/
- Uninstall the Sun Java 2 Plug-in, if it is installed.
- Install the IBM Java 2 Plug-in.
- In the directory where you installed the IBM Plug-in, change the IBM security provider referenced in the \jre\lib\security\java.security file from security.provider.2=com.ibm.crypto.provider.IBMJCA to security.provider.2=com.ibm.crypto.provider.IBMJCE
- Restart the browser.
To use the Sun Java 2 Plug-in (JRE) with supported versions of Netscape and Internet Explorer, do the following:
- Download the Sun Java 2 Plug-in (JRE) from http://java.sun.com
- Install the Sun Java 2 Plug-in with JRE
- Restart the browser.
Specifying Hindi monospaced font for Windows 2000 and Windows XP
Z and I Emulator for Web uses Monospaced Devanagari font for a Hindi session on Windows 2000 and XP. To install Monospaced Devanagari font on the client:
- Download the font file to the client in the Windows font directory.
- Change the browser settings as follows:
- For Internet Explorer, assign the registry entry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM\Font Alias\Courier the key value
of Devanagari MT Narrow.
The key font alias may not exist in your system. Use the following steps to create a font alias:
- Under the registry entry Java VM, create a KEY called Font Alias.
- For the KEY Font Alias, create a VALUE called Courier.
- For the VALUE Courier, update the data with the hindi font name Devanagari MT Narrow.
- Reboot your system.
- For Netscape, replace the existing font.properties file with the supplied one. The file normally exists in the directory \Program files\Netscape\Communicator\Program\Java\Classes.
- For the IBM plug-in, replace the existing font.properties file in the \Program files\ibm\java13\jre\lib directory with the supplied one.
- For the Sun plug-in, replace the existing font.properties file in the \jdk1.4\jre\lib directory with the supplied one.
- For Internet Explorer, assign the registry entry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM\Font Alias\Courier the key value
of Devanagari MT Narrow.
Configuring a workstation
To configure a workstation for Hindi, set the appropriate code page:
- Click the Add sessions button at the bottom of the client window.
- Right-click the 5250 display session to add.
- Click Copy.
- Enter the destination address and select 1137 Hindi for the Host Code Page.
- Click OK.
- Click Close to close the Add Sessions window. An icon is added to the Configured sessions window.
Modifying a session configuration
To modify a workstation configuration for Hindi:
- Right-click a configured 5250 display session icon.
- Click Properties.
- Change the required information on each tab.
- Click OK.
Switching keyboards between Hindi and Latin
To switch the keyboard between Hindi and Latin, use the following key combinations:
Default key mapping | Language |
---|---|
Ctrl+N | Hindi |
Ctrl+L | Latin |
Identifying language shift status
If the keyboard is in Hindi language shift, the indicator HI appears on the Operator Information Area (OIA).
Using cut, copy and paste functions
Cut, copy and paste are supported on Hindi display mode. You can copy and cut text using the keyboard. When using keyboard functions (Shift+arrow key) for marking text, the trimming rectangle appears at the Hindi cursor position.
Using file transfer
For Hindi, when you transfer files between the local workstation and the host, select 1137 Hindi for the Host Code Page.
Because Hindi language is supported only in Unicode, the ASCII transfer option does not apply to Hindi file transfer. Use the Unicode transfer option to transfer a file in TEXT mode. When the session has the Hindi code page, the transfer option Unicode is the default for TEXT mode transfer.
Transfer local files in Unicode format. If you do not use Unicode format to transfer a local file, the following error message can appear:
ECL0146 Error while reading from the local file system.
Understanding Hindi clusters
A cluster is a single character on the screen that internally might be represented by more than one character. Two or more individual characters in Hindi can combine to form or compose a glyph or cluster. The number of characters in a cluster varies.
In order to find the number of characters in a cluster, Unicode Ligation and ISCII rules will be used. The 15 Unicode Ligation rules defined by the Unicode Consortium can be found in the book The Unicode Standard Version 3.0 by the Unicode Consortium, published by Addison Wesley Publishing Company.
Other than the Unicode rules, Indian Script Code for Information Interchange(ISCII) rules also identify a cluster. The ISCII rules are as follows:
Rule 1: Letter I(\u0907) + Nukta(\u093C)
forms Letter Vocalic L(\u090C)
Rule 2: Vowel Sign Vocalic R(\u0943) + Sign Nukta(\u093c)
forms Vowel Sign Vocalic Rr(\u0944)
Rule 3: Candrabindu(\u0901) + Sign Nukta(\u093c)
forms Om(\u0950)
Rule 4: Letter Vocalic R(\u090b) + Sign Nukta(\u093c)
forms Letter Vocalic Rr(\u0960)
Rule 5: Letter Ii(\u0908) + Sign Nukta(\u093c)
forms Letter Vocalic LI(\u0961)
Rule 6: Vowel Sign I(\u093f) + Sign Nukta(\u093c)
forms Vowel Sign VocalicL(\u0962)
Rule 7: Vowel Sign Ii(\u0940) + Sign Nukta(\u093c)
forms Vowel Sign Vocalic LI(\u0963)
Rule 8: Danda(\u0964) + Sign Nukta(\u093c)
forms Sign Avagraha(\u093d)
Rule 9: Consonant+Halant(\u094d)+Halant(\u094d)+Consonant
forms Consonant + Halant(\u094d) + ZWNJ + Consonant
Rule 10: Consonant+Halant(\u094d)+Nukta(\u093c)+Consonant
forms Consonant + Halant(\u094d) + ZWJ + Consonant
Also based on the ISCII rules, the Z and I Emulator for Web Hindi enablement allows a maximum of five consonants to form a cluster. If a cluster contains more than five consonants, only the first five consonants are treated as a cluster. The remaining characters form a separate cluster based on the five-consonant rule.
Understanding the behavior of the arrow, Backspace, Delete, and Insert keys
The arrow, Backspace, Delete, and Insert keys have some special behaviors in Hindi sessions because of the formation of clusters.
Some of the terms used to describe these behaviors include:
- Character or Code Point
- The smallest component of written language that has semantic value
- Glyph or Cluster
- The shape that characters can have when they are displayed
A single glyph or cluster can correspond to a single character or to a number of characters. To understand clusters and their formation, refer to Understanding Hindi clusters.
- Arrows
-
To move the cursor from one glyph or cluster to another on the screen using the left and right arrow keys, position the cursor at the beginning or end of a cluster, depending on the key pressed. These positions are known as boundary positions. Cluster support is available for Hindi in Z and I Emulator for Web, Version 1.0.
Example
You type three characters: Devanagari letter KA, Devanagari sign Virama, and Devanagari letter SSHA. These three characters form a single glyph Devanagari letter K.SSHA. If the cursor is positioned after this glyph and you want to move the cursor to the character before the Devanagari letter K.SSHA, you need to press the left arrow only once.
- Backspace
-
Place the cursor at the end of a cluster and press the Backspace key once to remove only a single Unicode character (a code point), not the entire cluster.
Example
You type three characters: Devanagari letter KA, Devanagari sign Virama, and Devanagari letter SSHA. These three characters form a single glyph Devanagari letter K.SSHA. Place the cursor at the end of the cluster and press the backspace key once to delete the Devanagari letter SSHA, not the entire cluster.
- Delete
-
Place the cursor on a cluster and press the Delete key to delete the entire cluster instead of a single Unicode character (a code point).
Examples
Enter the Devanagari letter KA followed Devanagari vowel sign I. The glyph corresponding to Devanagari vowel sign I is displayed before the glyph corresponding to Devanagari Letter KA. When you press the Delete key, the Hindi cluster formed by the combination of Devanagari vowel sign I and Devanagari letter KA is deleted from the screen.
In another example, type three characters: Devanagari letter KA, Devanagari sign Virama, and Devanagari letter SSHA. These three characters form a single glyph Devanagari letter K.SSHA. Reach the glyph Devanagari letter K.SSHA by pressing the right arrow key and when the cursor reaches Devanagari letter K.SSHA, press the Delete key. The entire Devanagari cluster K.SSHA is deleted.
- Insert
-
The Insert key enables inserting characters between clusters but not within clusters.
Example
YType three characters: Devanagari letter KA, Devanagari sign Virama, and Devanagari letter SSHA. These three characters form a single glyph Devanagari letter K.SSHA. You can either insert characters before the entire Devanagari cluster K.SSHA or after it, but you cannot insert characters within the cluster.
Limitations and workarounds
General limitations
- 3270, VT, and CICS emulation are not supported for Hindi sessions.
- 3270 printer sessions and 5250 printer sessions are not supported for Hindi.
- Hindi enablement is only supported on the Windows 2000 and Windows XP platform.
- Hindi enablement is not supported for Sun Java 2 Plug-in (JRE1.3).
IBM plug-in support for Hindi sessions
To support Hindi sessions with an IBM Java 2 plug-in, use the Windows Plug-in, which is shipped with Z and I Emulator for Web 1.0.