Solaris Internationalization Guide For Developers

Script Selection and Input Modes

The en_US.UTF-8 locale supports multiple scripts. There are a total of eight input modes in the en_US.UTF-8 locale:

English/European Input Mode

The English/European input mode includes not only the English alphabet but also characters with diacritical marks (for example, á, è, î, õ, and ü) and special characters (such as ¡, §, ¿) from European scripts.

This input mode is the default mode for any application. The input mode is displayed at the bottom left corner of the GUI application.

Graphic

To insert characters with diacritical marks or special characters from Latin-1, Latin-2, Latin-4, Latin-5 and Latin-9, you must type a Compose sequence, as shown in the following examples:

When there is no <Compose> key available on your keyboard, you can substitute for the <Compose> key by simultaneously pressing the <Control> key and <shift-T> together.

For the input of the Euro currency symbol (Unicode value U+20AC) from the locale, you can use any one of following input sequences:

These input sequences mean that you press both keys simultaneously. If there is no <AltGraph> key available on your keyboard, you can substitute the <Alt> key for the <AltGraph> key.

The following tables are the most commonly used Compose sequences in Latin-1, Latin-2, Latin-4,Latin--5 and Latin-9 script input for Sparc.


Note -

To start these sequences, type <Compose> key and release it.


Table 4-4 lists the Common Latin-1 Compose Sequences.

Table 4-4 Common Latin-1 Compose Sequences for Sparc

Press and Release 

Press and Release 

Result 

[Spacebar] 

[Spacebar] 

Non-breaking space 

Superscripted 1 

Superscripted 2 

Superscripted 3 

Inverted exclamation mark  

Currency symbol ¤ 

Paragraph symbol ¶ 

mu u 

apostrophe ' 

acute accent '´ 

cedilla '¸' 

dieresis '¨ 

macron ' 

degree 'o' 

multiplication sign 'x' 

plus-minus ¿ 

soft hyphen - 

division sign / 

ordinal (feminine) a ã 

ordinal (feminine) a ã 

ordinal (masculine) o õ 

ordinal (masculine) o õ 

not sign ¬ 

middle dot ' 

vulgar fraction 1/2 

vulgar fraction 1/4 

vulgar fraction 3/4 

left double angle quotation mark « 

right double angle quotation mark » 

inverted question mark ¿ 

A grave À 

A acute Á 

A ring above Å 

A dieresis Ä 

A circumflex  

A tilde à

AE diphthong Æ 

C cedilla Ç 

copyright sign © 

Capital eth D 

E grave È 

E acute É 

E dieresis Ë 

E circumflex Ê 

I grave Ì 

I acute Í 

I dieresis Ï 

I circumflex Π

pound sign \xa3 

N tilde Ñ 

O grave Ò 

O acute Ó 

O slash Ø 

O dieresis Ö 

O circumflex Ô 

O tilde Õ 

registered mark \256 

Thorn P 

U grave Ù 

U acute Ú 

U dieresis Ü 

U circumflex Û 

Y acute Y 

yen sign \xb4 

a grave à 

a acute á 

a ring above å 

a dieresis ä 

a circumflex â 

a tilde ã 

a circumflex â 

ae diphthong æ 

c cedilla ç 

cent sign \xa2 

copyright sign © 

eth d 

e grave è 

e acute é 

e dieresis ë 

e circumflex ê 

i grave ì 

i acute í 

i dieresis ï' 

i circumflex î' 

n tilde ñ 

o grave ò 

o acute ó 

o slash ø 

o dieresis ö 

o circumflex ô 

o tilde õ 

German double s ß 

thorn p 

u grave ù 

u acute ú 

u dieresis ü 

u circumflex û 

y acute y 

y dieresis ÿ 

broken bar |


Note -

Compose sequences defined in Table 4-3 are not included in Table 4-4..


Table 4-5 lists the Common Latin-2 Compose Sequences.

Table 4-5 Common Latin-2 Compose Sequences

Press and Release 

Press and Release 

Result 

ogonek á 

' ' 

breve ü 

' ' 

caron  

' ' 

double acute ¨ 

A ogonek a 

A breve  

C acute  

C caron  

D caron 

D stroke 

E caron 

E ogonek 

L acute 

L stroke 

L caron 

N acute 

N caron 

O double acute 

S acute 

S caron 

S cedilla 

R acute 

R caron 

T caron 

T cedilla 

U ring above 

U double acute 

Z acute 

Z caron 

Z dot above 

Table 4-5 contains the Latin-2 compose sequences.


Note -

Compose sequences defined in Table 4-3 or Table 4-4 are not included in Table 4-5.


Table 4-6 lists the Common Latin-4 Compose Sequences.

Table 4-6 Common Latin-4 Compose Sequences

Press and Release 

Press and Release 

Result 

kra 

A macron 

E macron 

E dot above 

G cedilla 

I macron 

I tilde 

I ogonek 

K cedilla 

L cedilla 

N cedilla 

O macron 

R cedilla 

T stroke 

U tilde 

U ogonek 

U macron 

Eng 

a macron 

e macron 

e dot above 

g cedilla 

i macron 

i tilde 

i ogonek 

k cedilla 

l cedilla 

n cedilla 

o macron 

r cedilla 

t stroke 

u tilde 

u ogonek 

u macron 

eng


Note -

Compose sequences defined in Table 4-3 or Table 4-4 or Table 4-5 are not included in Table 4-6.


Table 4-7 lists the Common Latin-5 Compose Sequences.

Table 4-7 Common Latin-5 Compose Sequences

Press and Release 

Press and Release 

Result 

G breve 

I dot above 

g breve 

i dotless

Any compose sequences already described do not re-appear in this table.

Table 4-8 lists the Common Latin-9 Compose Sequences.

Table 4-8 Common Latin-9 Compose Sequences

Press and Release 

Press and Release 

Result 

Diphthong oe 

Diphthong OE 

Y diaresis 

Cyrillic Input Mode

To switch to Cyrillic input mode from English input mode, press Compose c c. If you are currently in Greek input mode, first return to English input mode, then switch to Cyrillic mode.

The input mode is displayed at the bottom left corner of your GUI application.

Graphic

After you switch to Cyrillic input mode, you cannot enter English text. To switch back to English input mode, type Control-Space. The Russian keyboard layout appears in Figure 4-1.

Figure 4-1 Cyrillic Keyboard

Graphic

Greek Input Mode

To switch to Greek input mode from English input mode, press Compose g g. If you are currently in Cyrillic input mode, first return to English input mode and then switch to Greek mode.

The input mode is displayed at the left bottom corner of your GUI application .

Graphic

After you switch to Greek input mode, you cannot enter English text. To switch back to English input mode, type Control-Space. The Greek keyboard layouts appear in Figures 4-2 and 4-3.

Figure 4-2 Greek Euro Keyboard

Graphic

Figure 4-3 Greek UNIX Keyboard

Graphic

Arabic Input Mode

To switch to Arabic input mode, type <Compose> + <g> + <g> from your current input mode. The input mode is displayed at the left bottom corner of your GUI application Once you switch to the Arabic input mode, you have to switch back to English/European input mode to enter English/European characters by typing <Control> and <Space> together.

Figure 4-4 Arabic Keyboard

Graphic

Hebrew Input Mode

To switch into Hebrew input mode, type <Compose> <h> <h> from your current input mode. The input mode is displayed at the left bottom corner of your GUI application.

Once you switched into the Hebrew input mode, you have to switch back to the English/European input mode to enter English/European characters by typing <Control> and <Space> and together. You can also switch into other input modes by typing the corresponding input mode switch key sequence. The Hebrew keyboard layout is shown at following figure:

Figure 4-5 Hebrew Keyboard

Graphic

Thai Input Mode

To switch into Thai input mode, type <Compose> <t> <t> from your current input mode. The input mode will be displayed at the left bottom corner of your GUI application.

Graphic

Once you have switched into the Thai input mode, you have to switch back to English/European input mode to enter English/European characters by typing <Control> and <Space> together. You can also switch into other input modes by typing the corresponding input mode switch key sequence. The Thai keyboard layout is shown at following figure:

Figure 4-6 Thai Keyboard

Graphic