International Language Environments Guide

Japanese Localization

This section describes Japanese locale-specific information.

Japanese Locales

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.

Japanese Character Sets

The supported Japanese character sets are:

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.

Japanese Fonts

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

PCF(12,14,16,20,24) 

 

JIS X 0208–1983, 

JIS X 0201–1976 

ricoh hg gothic b

PCF(10,12,14,16,18,20,24) 

RICOH 

JIS X 0208–1983, JIS X 0201–1976 

ricoh hg mincho l

PCF(10,12,14,16,18,20,24) 

RICOH 

JIS X 0208–1983, JIS X 0201–1976 

ricoh gothic

PCF(10,12,14,16,18,20,24) 

RICOH 

JIS X 0212–1990, JIS X 0213–2000 

ricoh mincho

PCF(10,12,14,16,18,20,24) 

RICOH 

JIS X 0212–1990, JIS X 0213–2000 

ricoh heiseimin

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 

Japanese Input Systems

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.

  1. Turn conversion mode on by pressing Control + spacebar.

  2. Type Kana character text (for example kanjihenkan).

  3. 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.

  4. To commit the entire text to kanji character text, press return.

    Press the down arrow key to commit only selected characters.

  5. Turn conversion mode off by pressing Control + spacebar.

Terminal Setting for Japanese Terminals

Using Japanese locales on a character-based terminal (TTY) requires that you use terminal settings to make line editing work correctly.

Japanese iconv Module

Several Japanese codeset conversions are supported with iconv(1) and iconv(3). See the iconv_ja(5) man page for details.

User-Defined Character Support

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.

Differences Between Partial and Full Locales

The following components are only available in the Japanese full locale environment with the Language CD: