This section describes Japanese locale-specific information.
Four Japanese locales, which support different character encodings, are available in the Solaris 9 environment. The ja and ja_JP.eucJP locales are based on the Japanese EUC. The ja_JP.eucJP locale conforms to the UI-OSF Japanese Environment Implementation Agreement Version 1.1 and the ja locale conforms to the traditional specification from earlier Solaris releases. The ja_JP.PCK locale is based on PC-Kanji code (known as Shift_JIS) and the ja_JP.UTF-8 is based on UTF-8.
See the eucJP(5) man page for a map between Japanese EUC and the character set. See the PCK(5) man page for the map between PC-Kanji code and the character set.
The supported Japanese character sets are:
JIS X 0201–1976
JIS X 0208–1990
JIS X 0212–1990
JIS X 0213–2000 (only characters defined in Unicode 3.1)
JIS X 0212–1990 is not supported in the ja_JP.PCK locale. JIS X 0213–2000 is supported in the ja_JP.UTF-8 locale only. Not all characters defined in the JIS X 0213–2000 are available. Only those characters defined in the Unicode 3.1 character set are available.
Vendor-defined characters (VDC) and user-defined characters (UDC) are also supported. VDCs occupy unused (reserved) code points of JIS X 0208–1990 or JIS X 0212–1990. UDCs occupy the same code points as VDCs, except those code points allocated for VDCs.
Three Japanese font formats are supported: bitmap, TrueType and Type1. The Japanese Type1 font includes only JIS X 0212 for printing. The Type1 font is also used by UDC.
Japanese bitmap fonts are described in the following table.
Table 4–14 Japanese Bitmap Fonts
Full Family Name |
Subfamily |
Format |
Vendor |
Encoding |
---|---|---|---|---|
sun gothic |
R, B |
PCF(12,14,16,20,24) |
|
JIS X 0208–1983, JIS X 0201–1976 |
sun minchou |
R |
PCF(12,14,16,20,24) |
|
JIS X 0208–1983, JIS X 0201–1976 |
ricoh hg gothic b |
R |
PCF(10,12,14,16,18,20,24) |
RICOH |
JIS X 0208–1983, JIS X 0201–1976 |
ricoh hg mincho l |
R |
PCF(10,12,14,16,18,20,24) |
RICOH |
JIS X 0208–1983, JIS X 0201–1976 |
ricoh gothic |
R |
PCF(10,12,14,16,18,20,24) |
RICOH |
JIS X 0212–1990, JIS X 0213–2000 |
ricoh mincho |
R |
PCF(10,12,14,16,18,20,24) |
RICOH |
JIS X 0212–1990, JIS X 0213–2000 |
ricoh heiseimin |
R |
PCF(12,14,16,18,20,24) |
RICOH |
JIS X 0212–1990 |
Japanese TrueType fonts are described in the following table.
Table 4–15 Japanese TrueType Fonts
Full Family Name |
Subfamily |
Format |
Vendor |
Encoding |
---|---|---|---|---|
ricoh hg gothic b |
Fixed |
TrueType |
RICOH |
JIS X 0208–1983, JIS X 0201–1976 |
ricoh hg mincho l |
Fixed |
TrueType |
RICOH |
JIS X 0208–.1983, JIS X 0201–1976 |
ricoh gothic |
Fixed, Proportional |
TrueType |
RICOH |
JIS X 0201–176, JIS X 0208–1983, JIS X 0213–2000 |
ricoh mincho |
Fixed, Proportional |
TrueType |
RICOH |
JIS X 0201–1976, JIS X 0208–1983, JIS X 0213–2000 |
ricoh heiseimin |
Fixed |
TrueType |
RICOH |
JIS X 0212–1990 |
ATOK12 is the default Japanese input system in the Solaris 9 environment. It is available for all Japanese locales and all UTF-8 locales when the Japanese locale is installed. The Wnn6 Japanese input system is also available for all Japanese locales. You can switch input systems from the Workspace menu. For Japanese Solaris 1.x BCP support, the kkcv Japanese input system is available.
The following example describes how you would input Japanese input using ATOK12.
Turn conversion mode on by pressing Control + spacebar.
Type Kana character text (for example kanjihenkan).
Convert to kanji character by pressing the spacebar.
To display other kanji characters, press the space bar to display the conversion candidate table. Type the number you want to select.
To commit the entire text to kanji character text, press return.
Press the down arrow key to commit only selected characters.
Turn conversion mode off by pressing Control + spacebar.
Using Japanese locales on a character-based terminal (TTY) requires that you use terminal settings to make line editing work correctly.
If your terminal is a CDE Terminal emulator (dtterm), use stty(1) with argument -defeucw in any Japanese locale (ja, ja_JP.PCK, or ja_JP.UTF-8). An example in locale ja is:
% setenv LANG ja % stty defeucw
If your terminal is not a CDE Terminal emulator, but the codeset of your terminal is the same as that of the current locale, use stty(1) with argument -defeucw.
If your terminal's codeset doesn't match that of the current locale, use setterm(1) to enable code conversion. For example, if you are in locale ja but your terminal requires PCK (Shift_JIS code), specify:
% setenv LANG ja % setterm -x PCK
See the setterm(3CURSES) man page for details.
Several Japanese codeset conversions are supported with iconv(1) and iconv(3). See the iconv_ja(5) man page for details.
The user-defined character utility sdtudctool handles both outline (Type1) and bitmap (PCF) fonts. Some utilities are also available to migrate the UDC fonts that were created by old utilities in prior releases, such as fontedit, type3creator, and fontmanager.
The following components are only available in the Japanese full locale environment with the Language CD:
Translated message, help, and man pages
Wnn6 Japanese input system
Japanese Solaris 1.x BCP support
Mincho (min*) typeface bitmap fonts
JIS X 0212 Type1 fonts for printing
Japanese-specific dumb printer and jpostprint support
Legacy Japanese utilities such as kanji(1)