International Language Environments Guide

Japanese Localization

This section describes Japanese locale-specific information.

Japanese Locales

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.

Japanese Character Set

Supported Japanese character sets are:

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.

Japanese Font

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

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

 

JISX0208.1983, 

JISX0201.1976 

hg gothic b

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

RICOH 

JISX0208.1983, JISX0201.1976 

hg mincho l

PCF(12,14,16,18,20,2) 

RICOH 

JISX0208.1983, JISX0201.1976 

heiseimin

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

TrueType 

RICOH 

JISX0208.1983, JISX0201.1976 

hg mincho l

TrueType 

RICOH 

JISX0208.1983, JISX0201.1976 

heiseimin

TrueType 

RICOH 

JISX0212.1990 

Japanese Input Systems

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.

How to Input Japanese Strings by using 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.


Note -

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:

  1. Turning Japanese conversion mode on/off: Control + Space

  2. Enter Kana character text: ex: Type "nihon"

  3. Conversion to Kanji character text: Control + N

  4. Commit the Kanji character text: Control + K

The following table shows cs00 operation list.

Table 3-30 cs00 Operation List

Function 

Operation 

Conversion mode on/off 

Control + Space 

Control + @ 

Kana/Kanji conversion 

next Control + N 

post Control + P 

lookup Control + W 

Commit 

Control + K 

Move focus 

forward Control + F 

back Control + B 

Focus scope 

increase Control + I 

decrease Control + U 

Delete (1 character) 

Control + H 

Delete or backspace 

Delete (all characters) 

Control + ] and Control + U 

Full/half Katanka => Hiragana 

Control + ] and Control + O 

Hiragana/half Katakana = > full Katakana 

Control + ] and Control + Y 

Full Katakana/Hiragana => half Katakana 

Control + ] and Control + Z 

Half Roma/Num = > full Roma/Num 

Control + ] and Control + T 

Full Roma/Num = > half Roma/Num 

Control + ] and Control + R 

Learning Mode on/off 

Control + ] and Control + L 

Input Mode Switch: 

  • Hiragana mode

  • Full Katakana mode

  • Full Roma/Num mode

  • Half Katakana mode

  • Half Roma/Num mode

  • Kuten code input mode

  • Bushu input mode

 

 

Control + O 

Control + Y 

Control + T 

Control + Z 

Control + R 

Control + Q 

Control + V 

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.

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 

Japanese Specific Printer Support

The Japanese Solaris 8 product supports the following Japanese-specific printers:

User Defined Character Support

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.

Not Included on the Base Solaris Product

The following components are included in the multilingual Solaris product (on Languages CD), but not included in the base Solaris product.