This section describes Japanese locale-specific information.
Three Japanese locales, which support different character encoding, are available in the Solaris 8 environment. The ja, (or ja_JP.eucJP) locale is based on the Japanese EUC. 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 eucJP(5) for a map between Japanese EUC and the character set. See PCK(5) for the map between PCK and the character set.
Supported Japanese character sets are:
JISX0201-1976
JISX0208-1990
JISX0212-1990
JISX0212-1990 is not supported in the ja_JP.PCK locale.
Vendor Defined Character (VDC) and User defined Character (UDC) are also supported. VDCs occupy unused (reserved) code points of JISX0208-1990 or JISX0212-1990. UDCs occupy the same code points as VDCs except the code points are for VDCs.
Three Japanese font formats are supported. They are: Bitmap, TrueType and Type1. The Japanese Type1 font includes only JIS X0212 for printing. Type1 font is also used by UDC.
Japanese Bitmap Fonts are shown below.
Table 3-28 Japanese Bitmap Fonts
Full Family Name |
Subfamily |
Format |
Vendor |
Encoding |
---|---|---|---|---|
gothic |
R, B |
PCF(12,14,16,20,24) |
|
JISX0208.1983, JISX0201.1976 |
minchou |
R |
PCF(12,14,16,20,24) |
|
JISX0208.1983, JISX0201.1976 |
hg gothic b |
R |
PCF(12,14,16,18,20,24) |
RICOH |
JISX0208.1983, JISX0201.1976 |
hg mincho l |
R |
PCF(12,14,16,18,20,2) |
RICOH |
JISX0208.1983, JISX0201.1976 |
heiseimin |
R |
PCF(12,14,16,18,20,24) |
RICOH |
JISX0212.1990 |
Japanese TrueType Fonts are show below.
Table 3-29 Japanese TrueType Fonts
Full Family Name |
Subfamily |
Format |
Vendor |
Encoding |
---|---|---|---|---|
hg gothic b |
R |
TrueType |
RICOH |
JISX0208.1983, JISX0201.1976 |
hg mincho l |
R |
TrueType |
RICOH |
JISX0208.1983, JISX0201.1976 |
heiseimin |
R |
TrueType |
RICOH |
JISX0212.1990 |
Four Japanese input systems, ATOK12, ATOK8, Wnn6, and cs00 are available in the Solaris 8 environment for all Japanese locales. It is possible to switch input systems from the workspace menu. The only Japanese input system available on the Base Solaris is cs00.
When turning Kana-Kanji conversion mode ON, keyboard input is grabbed by Htt (X Input Method Server) and sent to the cs00 daemon through the XCI (xci(7)) interface. The cs00 deamon converts the received strings to Japanese strings by using dictionary and returns the result to the program which has a keyboard focus now. See cs00(1M) for more details.
CUI based dictionary maintenance utilities are available. See udicm(1) and mdicm(1) for details.
GUI based maintenance utilities, sdtudicm(1) or udicmtool(1), are not available in the base Solaris product.
The basic Japanese input procedure is as follows:
Turning Japanese conversion mode on/off: Control + Space
Enter Kana character text: ex: Type "nihon"
Conversion to Kanji character text: Control + N
Commit the Kanji character text: Control + K
The following table shows cs00 operation list.
Table 3-30 cs00 Operation List
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 this setting, too.
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 (ShiftJIS code), specify:
% setenv LANG ja % setterm -x PCK
See setterm(1) for details.
Several Japanese codeset conversions are supported with iconv(1) and iconv(3). See the iconv_ja(5) man page for details.
The following table shows iconv Conversion Support.
Table 3-31 iconv Conversion Support
Source Code |
Target Code |
---|---|
eucJP |
JIS7 |
eucJP |
SJIS |
eucJP |
UTF-8 |
eucJP |
jis |
eucJP |
ibmj |
SJIS |
eucJP |
SJIS |
ISO-2022-JP |
SJIS |
UTF-8 |
SJIS |
jis |
SJIS |
ibmj |
PCK |
eucJP |
PCK |
UTF-8 |
PCK |
ISO-2022-JP |
PCK |
jis |
PCK |
ibmj |
ISO-2022-JP |
eucJP |
ISO-2022-JP |
PCK |
ISO-2022-JP |
SJIS |
UTF-8 |
eucJP |
UTF-8 |
SJIS |
UTF-8 |
PCK |
JIS7 |
eucJP |
jis |
eucJP |
jis |
PCK |
jis |
SJIS |
ibmj |
eucJP |
ibmj |
PCK |
UTF-8 |
ISO-2022-JP |
ISO-2022-JP |
UTF-8 |
eucJP |
UTF-8-Java |
UTF-8-Java |
eucJP |
PCK |
UTF-8-Java |
UTF-8-Java |
PCK |
eucJP |
ISO-2022-JP.RFC1468 |
PCK |
ISO-2022-JP.RFC1468 |
UTF-8 |
ISO-2022-JP.RFC1468 |
eucJP |
ibmj-EBCDIK |
ibmj-EBCDIK |
eucJP |
PCK |
ibmj-EBCDIK |
ibmj-EBCDIK |
PCK |
The Japanese Solaris 8 product supports the following Japanese-specific printers:
Epson VP-5085 (based on ESC/P)
NEC PC-PR201 (based on 201PL)
Canon LASERSHOT (based on LIPS)
Japanese PostScript Printer
To handle UDC, sdtudctool is available. 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 included in the multilingual Solaris product (on Languages CD), but not included in the base Solaris product.
All translations such as message, help, manpage and document
Japanese BCP support
ATOK12, ATOK8, and Wnn6 Japanese input systems
GUI utilities of the cs00 Japanese input system
Mincho and Bold typeface fonts
Japanese-specific dumb printer support
Sdtudctool for UDC
Legacy Japanese libraries (for example, libjapanese.a or libmle.a)
Some Japanese specific utilities (e.g. kanji, or vled)