JIS X 0208

JIS X 0208 is a 2-byte character set specified as a Japanese Industrial Standard, containing 6879 graphic characters suitable for writing text, place names, personal names, and so forth in the Japanese language. The official title of the current standard is 7-bit and 8-bit double byte coded KANJI sets for information interchange (7ビット及び8ビットの2バイト情報交換用符号化漢字集合 Nana-Bitto Oyobi Hachi-Bitto no Ni-Baito Jōhō Kōkan'yō Fugōka Kanji Shūgō). It was originally established as JIS C 6226 in 1978, and has been revised in 1983, 1990, and 1997.

Scope of use and compatibility

The character set JIS X 0208 establishes is primarily for the purpose of information interchange (情報交換 jōhō kōkan) between data processing systems and the devices connected to them, or mutually between data communication systems. This character set can be used for data processing and text processing.

Partial implementations of the character set are not compatible. Because there are places where such things have happened as the original drafting committee of the first standard taking care to separate things between level 1 and level 2 and the second standard then shuffling some itaiji among the level, at least in the first and second standards, it is conjectured that non-kanji and level 1-only implementations were hypothesized at those times. However, such implementations have never been specified as compatible.

Even though there are provisions in the JIS X 0208:1997 standard concerning compatibility, at the present time, it is generally considered that this standard neither certifies compatibility nor is it an official manufacturing standard that amounts to a declaration of self-compatibility.[1] Consequently, de facto, JIS X 0208-“compatible” products are not considered to exist. Terminology such as “conformant” (準拠 junkyo) and “corresponding” (対応 taiō) is included in JIS X 0208, but the semantics of these terms vary from person to person.

Code structure

JIS X 0208 codes are fundamentally two bytes of either seven or eight bits. However, one graphic character (図形文字 zukei moji), “space”, and every control character (制御文字 seigyo moji) is represented with a one-byte code. In order to represent code points, column/line numbers and kuten (区点?) numbers are used. For a way to identify a character without depending on a code, character names are used.

Column/Line numbers

In order to represent the bit combination (ビット組合せ bitto kumiawase) of a one-byte code, two decimal numbers – a column number and a line number – are used. Three high-order bits out of seven or four high-order bits out of eight, counting from zero to seven or from zero to fifteen respectively, form the column number. Four low-order bits counting from zero to fifteen form the line number.

For example, the bit combination corresponding to the graphic character “space” is 010 0000 as a 7-bit number, and 0010 0000 as an 8-bit number. According to those column/line numbers, this is represented as 2/0.

Code points and code numbers

In a two-byte code, the first of the two bytes similarly provides the group of codes, called a row ( ku), and the individual code within the row, called a cell ( ten).[2] A row and a cell form a kuten point, or rather, a code point.

The first and second of two bytes are each permitted to indicate the 94 column/line numbers from 2/1 to 7/14. Consequently, there are 94 rows, and 94 cells in each row. Thus, there are 8836 (94 × 94) code points.

A code point is referenced as a code number (区点番号 kuten bangō, “kuten number”). Each row is given a number from 1 to 94, and within each row, each cell is given a number from 1 to 94. A code number is expressed in the form “row-cell”, the row and cell numbers being separated by a hyphen. For example, the character “” has a code point at row 16, cell 1, so its code number is represented as “16-01”.

The correspondence between code numbers and graphic characters is represented, with row numbers made into line numbers and cell numbers made into column numbers, on the 94-line 94-column graphic character code table.

This structure is also used in the Chinese GB 2312 and the Korean KS C 5601 (currently KS X 1001).

Unassigned code points

Among the 2-byte codes, rows 9 to 15 and 85 to 94 are unassigned code points (空き領域 aki ryōiki); that is, they are code points with no characters assigned to them. Also, some cells in other rows are also essentially unassigned code points.

These empty areas contain code points that should basically not be used. Except when there is prior agreement among the relevant parties, characters (gaiji) for information interchange should not be assigned to the unassigned code points.

Even when assigning characters to unassigned code points, graphic characters defined in the standard should not be assigned to them, and the same character should not be assigned to multiple unassigned code points; characters should not be duplicated in the set.

Furthermore, when assigning characters to unassigned code points, it is necessary to be cautious of unification in regards to kanji glyphs. For example, row 25 cell 66 corresponds to the kanji meaning “high” or “expensive”; both the form with the character meaning “mouth” () in the middle () and the less common form with a ladder-like construction () are subsumed into the same code point. Consequently, limiting point 25-66 to the “mouth” form and assigning the latter “ladder” form to an unassigned code point would technically be in violation of the standard.

Character names

For characters given codes in this standards, each is given a name. By using a character's name, it is possible to discern characters without relying on their codes. The names of characters are coordinated with other character set standards, so for some characters in some character sets, one can decide whether or not they are the same as characters in other character sets.

For example, both the character at ISO/IEC 646 column 4 line 1 and the one at JIS X 0208 row 3 cell 33 have the name “LATIN CAPITAL LETTER A”. Therefore, the character at 4/1 in ISO/IEC 646 and the character at 3-33 in this standard can be concluded to be the same character. Also, for the ISO/IEC 646 International Reference Version, 2/2 (quotation mark), 2/7 (apostrophe), 2/13 (hyphen-minus), and 7/14 (tilde) are characters that do not exist in this standard.

Character names not for kanji use uppercase Roman letters, spaces, and hyphens. Non-kanji characters are given a Japanese-language common name (日本語通用名称 Nihongo tsūyō meishō), but some provisions for these names do not exist.[3]

The names of kanji are mechanically set according to the corresponding hexadecimal representation of their code in the Universal Character Set (UCS). The name of a kanji can be arrived at by prepending the UCS code with “CJK UNIFIED IDEOGRAPH-”. For example, row 16 cell 1 () corresponds to 4E9C in UCS, so the name of it would be “CJK UNIFIED IDEOGRAPH-4E9C”. Kanji are not given Japanese common names.

Kanji set

Overview

JIS X 0208 prescribes a set of 6879 graphical characters that correspond to two-byte codes with either seven or eight bits to the byte; in JIS X 0208, this is called the kanji set (漢字集合 kanji shūgō), which includes 6355 kanji as well as 524 non-kanji (非漢字 hikanji), including characters such as Latin letters, kana, and so forth.

Special characters
Occupies rows 1 and 2. There are 18 descriptor symbols (記述記号 kijutsu kigō) such as the “ideographic space” ( ), and the Japanese comma and period; eight diacritical marks such as dakuten and handakuten; 10 characters for things that follow kana or kanji (仮名又は漢字に準じるもの kana mata wa kanji ni junjiru mono) such as the Iteration mark; 22 bracket symbols (括弧記号 kakko kigō); 45 mathematical symbols (学術記号 gakujutsu kigō); and 32 unit symbols, which includes the currency sign and the postal mark, for a total of 147 characters.
Numerals
Occupies part of row 3. The ten digits from “0” to “9”.
Latin letters
Occupies part of row 3. The 26 letters of the English alphabet in uppercase and lowercase form for a total of 52.
Hiragana
Occupies row 4. Contains 48 unvoiced kana (including the obsolete wi and we), 20 voiced kana (dakuten), 5 semi-voiced kana (handakuten), 10 small kana for palatalized and assimilated sounds, for a total of 83 characters.
Katakana
Occupies row 5. There are 86 characters; in addition to the katakana equivalents of the hiragana characters, the small ka/ke kana (/) and the vu kana ().
Greek letters
Occupies row 6. The 24 letters of the Greek alphabet in uppercase and lowercase form (minus the final sigma) for a total of 48.
Cyrillic letters
Occupies row 7. The 33 letters of the Russian alphabet in uppercase and lowercase form for a total of 66.
Box drawing characters
Occupies row 8. Thin segments, thick segments, and mixed thin and thick segments, 32 total.
Kanji
The 2965 characters of level 1 (第1水準 dai ichi suijun) from row 16 to row 47, and the 3390 characters of level 2 (第2水準 dai ni suijun) from row 48 to row 84 for a total of 6355.

Special characters, numerals, and Latin characters

As for the special characters in the kanji set, some characters from the graphic character set of the International Reference Version (IRV) of ISO/IEC 646 are absent from JIS X 0208. There are the aforementioned four characters “QUOTATION MARK”, “APOSTROPHE”, “HYPHEN-MINUS”, and “TILDE”. The former three are split into different code points in the kanji set (Nishimura, 1978; JIS X 0221-1:2001 standard, Section 3.8.7). The “TILDE” of IRV has no corresponding character in the kanji set.

In the following table, the ISO/IEC 646 IRV characters in question are compared with their multiple equivalents in JIS X 0208, except for the ISO/IEC 646 IRV character “TILDE”, which is compared with the “WAVE DASH” of JIS X 0208. The entries under the “Symbol” columns utilize UCS/Unicode code points, so the specifics of display may differ.

Non-strict correspondence between ISO/IEC 646 IRV and JIS X 0208
ISO/IEC 646 IRV JIS X 0208
Column/Line Symbol Name Kuten Symbol Name
2/2 " QUOTATION MARK 1-15 ¨ DIAERESIS
1-40 LEFT DOUBLE QUOTATION MARK
1-41 RIGHT DOUBLE QUOTATION MARK
1-77 DOUBLE PRIME
2/7 ' APOSTROPHE 1-13 ´ ACUTE ACCENT
1-38 LEFT SINGLE QUOTATION MARK
1-39 RIGHT SINGLE QUOTATION MARK
1-76 PRIME
2/13 - HYPHEN-MINUS 1-30 HYPHEN
1-61 MINUS SIGN
7/14 ~ TILDE (no corresponding character)
(no corresponding character) 1-33 WAVE DASH

This means that the kanji set is the most widespread non-upward-compatible character set in the world; it is counted as one of the weak points of this standard.

Even with the 90 special characters, numerals, and Latin letters the kanji set and the IRV set have in common, this standard does not follow the arrangement of ISO/IEC 646. These 90 characters are split into rows 1 through 4.

As to the cause of how these numerals, Latin letters, and so forth in the kanji set are the “full-width alphanumeric characters” (全角英数字 zenkaku eisūji) and how the original implementation came forth with a differing interpretation compared to the IRV, it is thought that it is due to these incompatibilities.

Ever since the first standard, it has been possible to represent composites (合成 gōsei) such as encircled numbers, ligatures for measurement unit names, and Roman numerals;[4] they were not given independent kuten code points. Although individual companies that manufacture information systems can make an effort to represent these characters as customers may require by the composition of the characters, none has requested to have them added to the standard, instead choosing to proprietarily offer them as gaiji.

In the fourth standard (1997), all these characters were explicitly defined as characters that accompany an advancement of the current position; that is to say, they are spacing characters. Furthermore, it was ruled that they should not be made by the composition of characters. For this reason, it became disallowed to represent Latin characters with diacritics at all, with possibly the sole exception of the ångström symbol (Å) at row 2 cell 82.

Hiragana and katakana

The hiragana and katakana in JIS X 0208, unlike JIS X 0201, includes dakuten and handakuten markings as part of a character. The katakana wi (?) and we (?) (both obsolete in modern Japanese) as well as the small wa (?) , not in JIS X 0201, are also included.

The arrangement of kana in JIS X 0208 is different from the arrangement of katakana in JIS X 0201. In JIS X 0201, the syllabary starts with wo (?) , followed by the small kana sorted by gojūon order, followed by the full-size kana, also in gojūon order (ヲァィゥェォャュョッーアイウエオ……ラリルレロワン). On the other hand, in JIS X 0208, the kana are sorted first by gojūon order, then in the order of “small kana, full-size kana, kana with dakuten, and kana with handakuten” such that the same fundamental kana is grouped with its derivatives (ぁあぃいぅうぇえぉお……っつづ……はばぱひびぴふぶぷへべぺほぼぽ……ゎわゐゑをん). This ordering was chosen in order to more simply facilitate the sorting of kana-based dictionary look-ups (Yasuoka, 2006).[5]

As mentioned above, in this standard, the previously defined katakana order in JIS X 0201 was not followed in JIS X 0208. It is thought that the JIS X 0201 katakana being “half-width kana” arose due to the incompatibility with the katakana of this standard. This point is also one of the weaknesses of this standard.

Kanji

How the kanji in this standard were chosen from what sources, why they are split into level 1 and level 2, and how they are arranged are all explained in detail in the fourth standard (1997). According to it, the kanji included in the next four kanji listings were reflected in the 6349 characters of the first standard (1978).

The Information Processing Society of Japan kanji code committee compiled this list in 1971. In the below “Correspondence Analysis Results”, this appears to be 6086 characters.
Selected by the Administrative Management Agency of Japan in 1975, it consists of 2817 characters. For data for the purpose of selection, the Agency made a report which, starting with the “Kanji Listing for Standard Code (Tentative)”, contrasted several kanji listings, the “Correspondence Analysis Results and Frequency of Use of Kanji for Administrative Data Processing Use Normal Kanji Selection” (行政情報処理用標準漢字選定のための漢字の使用頻度および対応分析結果 Gyōsei Jōhō Shoriyō Kihon Kanji Sentei no Tame no Kanji no Shiyō Hindo Oyobi Taiō Bunseki Kekka), or “Correspondence Analysis Results” (対応分析結果 Taiō Bunseki Kekka) for short.
One of the kanji listings that compose the “Correspondence Analysis Results”, consisting of 3044 characters. It no longer exists. The original list was nonexistent for the original drafting committee; this kanji list was reflected in the standard to follow the “Correspondence Analysis Results”.
One of the kanji listings that compose the “Correspondence Analysis Results”, consisting of 3251 characters. They are the kanji used in the list of all administrative place names compiled by the Japan Geographic Data Center, the “National Administrative District Listing” (国土行政区画総覧 Kokudo Gyōsei Kukaku Sōran). The original drafting committee did not investigate the listing itself; the kanji used from this list followed the “Correspondence Analysis Results”.

In the second and third standards, they added four and two characters to level 2, respectively, bringing the total kanji to 6355. Also, in the second standard, character forms were changed as well as transposition among the levels; in the third standard as well, character forms were changed. These are described further below.

Level partitioning

For level 1, characters common to multiple kanji glyph listings were chosen, using the tōyō kanji, the tōyō kanji correction draft, and the jinmeiyō kanji as a basis. Also, JIS C 6260 (“To-Do-Fu-Ken (Prefecture) Identification Code”; currently JIS X 0401) and JIS C 6261 (“Identification code for cities, towns and villages”; currently JIS X 0402) were consulted; kanji for nearly all Japanese prefectures, cities, districts, wards, towns, villages, and so forth were intentionally placed in level 1.[6] Furthermore, amendments by experts were added.

Level 2 was dedicated to kanji that made an appearance in the aforementioned four major listings but were not selected for level 1. As noted below, the kanji of level 1 were ordered by their pronunciation, so among the kanji whose pronunciation were difficult to determine, there were those that were transferred from level 1 to level 2 on that basis (Nishimura, 1978).

Due to these decisions, for the most part, level 1 contains more frequently used kanji, and level 2 contains more infrequently used kanji, but of course, those were judged by the standards of the day; over the passage of time, some level 2 kanji have become more frequently used, such as one meaning “to soar” () and one meaning “to glitter” (); and inversely, some level 1 kanji have become infrequent, notably the ones meaning “centimeter” () and “millimeter” (). Also, a few jinmeiyō kanji, being added after the kanji set was defined, fall into level 2.

Arrangement

The kanji in level 1 are sorted in order of each one’s “representative reading” (i.e. a canonical reading chosen for the purposes of this standard only); the reading of a kanji for this may be an on or a kun reading; readings are sorted in gojūon order.[7] As a general rule, the on (Chinese-sound) reading is considered the representative reading; where a kanji has multiple on readings, the reading judged to be predominant in use frequency is used for the representative reading (JIS C 6226-1978 standard, Section 3.4). For those atypical kanji that do not have on readings, the kun reading was employed as the representative reading. Where a verb kun reading must be used as the representative reading, the ren'yōkei (rather than the shūshikei) form is used.

For example, cells 1 to 41 on row 16 are 41 characters sorted as starting with a reading of a. Within these, 22 characters, including 16-10 (: on reading “ki”; kun reading “aoi”) and 16-32 (: on readings “zoku” and “shoku”; kun reading “awa”) are there on the basis of their kun readings. 16-09 (: on reading “”, kun reading “a(i)”) and 16-23 (: on readings “” and “kyū”, kun reading “atsuka(i)”) are just two examples of ren'yōkei-form verbs used for the representative reading.

Where the representative reading is the same between different kanji, a kanji that uses an on reading is placed ahead of one that uses a kun reading. Where the on or kun readings are the same between more than one kanji, they are then ordered by their primary radical and stroke count.

Whether on level 1 or level 2, itaiji are arranged to directly follow their exemplar form. For example, in level 2, right after row 49 cell 88 (), the immediately following characters deviate from the general rule (stroke count in this case) to include three variants of 49-88 (, , and ).[8]

The kanji in level 2 are arranged in order of primary radical and stroke count. Where these two properties are the same for different kanji, they are then sorted by reading.

Kanji from unknown sources

Kanji for which sources are unclear, unknown, or otherwise un­iden­ti­fiable in JIS X 0208:1997 Appendix 7
Kuten Symbol Classi­fi­ca­tion
52-55 Unknown
52-63 Unknown
54-12 Source unclear
55-27 Un­iden­ti­fiable
57-43 Source unclear
58-83 Source unclear
59-91 Source unclear
60-57 Source unclear
74-12 Source unclear
74-57 Source unclear
79-64 Source unclear
81-50 Source unclear

It has been pointed out that there are kanji in the kanji set that are not found in comprehensive, unabridged kanji dictionaries, and that the sources thereof are unknown. For example, only one year after the first standard was established, Tajima (1979) reported that he had confirmed 63 kanji that were not to be found in Shinjigen (a large kanji dictionary published by Kadokawa Shoten), nor in Dai Kan-Wa jiten, and they did not make sense as ryakuji of any sort; he noted that it would be preferable for kanji not available in kanji dictionaries to be selected from definite sources. These kanji came to be known as “ghost” characters (幽霊文字 yūrei moji) or “ghost kanji” (幽霊漢字 yūrei kanji), among other names.

The drafting committee for the fourth version of the standard also saw the existence of kanji with sources unknown as a problem, and so made an inquiry into just what kind of sources the drafting committee of the first version referenced. As a result, it was discovered that the original drafting committee had heavily relied on the “Correspondence Analysis Results” to collect kanji. When the drafting committee investigated the “Correspondence Analysis Results”, it became clear that many of the kanji included in the kanji set but not found in exhaustive kanji dictionaries supposedly came from the “Japanese Personality Registration Name Kanji” and “Kanji for National Administrative District Listing” lists mentioned in the “Correspondence Analysis Results”.

It was confirmed that no original text for the “Japanese Personality Registration Name Kanji” referenced in the “Correspondence Analysis Results” exists. For the “National Administrative District Listing”, Sasahara Hiroyuki of the fourth version's drafting committee examined the kanji that appeared on the in-progress development pages for the first standard. The committee also consulted many ancient writings, as well as many examples of personal names in a database of NTT phone books.

Due to this thorough investigation, the committee was able to pare down the number of kanji for which the source cannot be confidently explained to twelve, shown on the adjacent table. Of these, it is conjectured that several glyphs came about due to copying errors. In particular, 妛 was probably created when printers tried to create 𡚴 by cutting and pasting 山 and 女 together. A shadow from that process was misinterpreted as a line, resulting in 妛 (a picture of this can be found in the Jōyō kanji jiten).

Unification of kanji variants

According to the specifications in the fourth standard (1997), unification (包摂 hōsetsu, not the same term used for Unicode’s “unification” although it is nearly the same concept) is the action of giving the same code point to a character without regard to its different character forms. In the fourth standard, the glyphs allowed are limited; the extent to which particular allographic glyphs are unified into a graphemic code point is clearly defined.

Furthermore, according to the specifications in the standard, a glyph (字体 jitai, lit. “character body”;) is an abstract notion as to the graphical representation of a graphic character; a character form (字形 jikei, lit. “character shape”; also a “glyph” in a sense, but differentiated on a different level for standardization purposes) is the representation as a graphical shape that a glyph takes in actuality (e.g. due to a glyph being handwritten, printed, displayed on a screen, etc.). For a single glyph, there exist an endless range of possible concretely and/or visibly different character forms. A variation between a character form of one glyph is termed a “design difference” (デザインの差 dezain no sa).

The extent to which a glyph is unified to one code point is determined according to that code point's “example glyph” (例示字体 reiji jitai) and the “unification criteria” (包摂規準 hōsetsu kijun) that can be applied to that example glyph; that is, the example glyph for a code point applies to that code point, and any glyphs for which the parts that compose the example glyph are replaced in accordance with the unification criteria also apply to that code point.

For example, the example glyph at 33-46 () is composed of radical 9 () and the kanji that eventually spawned the both the so kana (). Also, in unification criterion 101, there are three kanji displayed: the first takes the form most often seen in Japanese (); the second contains a more traditional form () in which the first two strokes form radical 12 (the kanji numeral for the number 8: ); and the third is like the second, except that radical 12 is inverted (). Consequently, all three permutations (, , ) all apply to the code point at line 33 cell 46.

In the fourth standard, including one of the errata for the first printing, there are 186 unification criteria.

When a code point’s example glyph is composed of more than one part glyph, unification criteria can be applied to each part. After a unification criterion is applied to one part glyph, that part cannot have any more unification criteria applied to it. Also, a unification criterion is not allowed to apply if the resulting glyph would coincide with that of another code point entirely.

An example glyph is no more than an example for that code point; it is not a glyph “endorsed” by the standard. Also, the unification criteria need only be used for generally used kanji and for the purpose of assigning things to the code points of this standard. The standard requests that generally unused kanji not be created based on the example glyphs and unification criteria.

The kanji of the kanji set are not chosen completely consistently according to the unification criteria. For example, although 41-7 corresponds to the form where the third and fourth strokes cross () as well as the form where they don’t () according to unification criterion 72, 20-73 only corresponds to the form where they do not cross (), and 80-90 only corresponds to the form where they do ().

The terms “unification”, “unification criteria”, and “example glyph” were adopted in the fourth standard. From the first to the third version, kanji and relations between kanji were grouped into three types: “independent” (独立 dokuritsu), “compatible” (対応 taiō), and “equivalent” (同値 dōchi); it was explained that the characters recognized as equivalent “consolidate to just one point”. “Equivalence” included, other than kanji with exactly the same shape, kanji with differences due to style, and kanji where the difference in character form is small.

In the first standard, it was stipulated that “this standard ... does not establish the particulars of character forms” (Section 3.1); it also states that “the aim of this standard is to establish the general idea of characters and their codes; the design of their character forms and such lie outside its scope.” In the second and third standards as well, notes to the effect that specific designs of character forms lie outside its scope (the note on item 1). The fourth standard also stipulates that “This standard regulates graphic characters as well as their bit patterns, and the use, specific designs of individual characters, and so forth are not within the scope of this standard” (JIS X 0208:1997, item 1).

Unification criteria for compatibility

In the fourth standard, “unification criteria for maintaining compatibility with previous standards” (過去の規格との互換性を維持するための包摂規準 kako no kikaku to no gokansei wo iji suru tame no hōsetsu kijun) is defined. Their application is limited to 29 code points whose glyphs vary greatly between the standards JIS C 6226-1983 on and after and JIS C 6226-1978. For those 29 code points, the glyphs from JIS C 6226-1983 on and after are displayed as “A”, and the glyphs from JIS C 6226-1978 as “B”. On each of them, both “A” and “B” glyphs may be applied. However, in order to claim compatibility with the standard, whether the “A” or “B” form has been used for each code point must be explicitly noted.

Coded character set

Eight kinds of codes

In JIS X 0208:1997, article 7 in the standard itself as well as Appendices 1 and 2 define a total of eight kinds of codes.

7-bit code for kanji
Stipulated in the standard itself. The C0 set of JIS X 0211 is allotted to the CL region, and the kanji set is allotted to the GL region.
8-bit code for kanji
Stipulated in the standard itself. The C0 set of JIS X 0211 is allotted to the CL region, and the kanji set is allotted to the GL region. To the CR region, either the C1 set of JIS X 0211 is allotted, or nothing is allotted. Nothing is allotted to the GR region.
International Reference Version + 7-bit code for kanji
Stipulated in the standard itself. The C0 set is allotted to the CL region. The graphic characters of the International Reference Version (IRV) of ISO/IEC 646 and the kanji set of JIS X 0208 are, respectively, allotted to the GL region according to “SHIFT-IN” and “SHIFT-OUT”.
International Reference Version + 8-bit code for kanji
Stipulated in the standard itself. The C0 set of JIS X 0211 is allotted to the CL region, the graphic character set of the IRV of ISO/IEC 646 to the GL region, and the kanji set to the GR region. In EUC-JP, this is suited for things that do not use the graphic character set for katakana of JIS X 0201 and the supplemental kanji of JIS X 0212.
Latin characters + 7-bit code for kanji
Stipulated in the standard itself. The IRV graphic character set of IRV + 7-bit code for kanji is replaced by the graphic character set for Latin characters of JIS X 0201.
Latin characters + 8-bit code for kanji
Stipulated in the standard itself. The IRV graphic character set of IRV + 8-bit code for kanji is replaced by the graphic character set for Latin characters of JIS X 0201.
Shift coded character set
Stipulated in Appendix 1: “Shift-Coded Representation” (シフト符号化表現 Shifuto Fugōka Hyōgen). This is Shift JIS.
RFC 1468 coded character set
Stipulated in Appendix 2: RFC 1468-Coded Representation” (RFC 1468符号化表現 RFC 1468 Fugōka Hyōgen). It resembles ISO-2022-JP, which is governed by RFC 1468. However, in contrast to ISO-2022-JP, which is a code where seven bits go into a byte, the RFC 1468 coded character set is a code where eight bits go into a byte.

Among these coded character sets stipulated in the fourth standard, only the “Shift” coded character set is registered by the IANA.[9]

Escape sequence

It is also possible, based on the code extension techniques, to use the kanji set. In each G-buffer, the escape sequences to indicate the kanji set are listed below. Here, “ESC” refers to the control character “ESCAPE”.

Escape sequences to indicate JIS C 6226 and JIS X 0208
Standard G0 G1 G2 G3
78 ESC 2/4 4/0 ESC 2/4 2/9 4/0 ESC 2/4 2/10 4/0 ESC 2/4 2/11 4/0
83 ESC 2/4 4/2 ESC 2/4 2/9 4/2 ESC 2/4 2/10 4/2 ESC 2/4 2/11 4/2
90 onward ESC 2/6 4/0 ESC 2/4 4/2 ESC 2/6 4/0 ESC 2/4 2/9 4/2 ESC 2/6 4/0 ESC 2/4 2/10 4/2 ESC 2/6 4/0 ESC 2/4 2/11 4/2

The problem of duplicate encodings

When using the kanji set of this standard with either the ISO/IEC 646’s IRV’s graphic character set or JIS X 0201’s graphic character set for Latin characters, the treatment of the characters common to both sets becomes problematic. Unless one takes special measures, the characters included in both sets do not all map to each other one-to-one, and a single character may be given more than one code point; that is, it may cause a duplicate encoding.

JIS X 0208:1997, in regards to when a character is common to both sets, basically forbids the use of the code point in the kanji set (which is one of two code points), eliminating duplicate encodings. It is judged that characters that have the same name are the same character.

For example, both the name of the character corresponding to the bit pattern 4/1 in the ISO/IEC 646 IRV character set and the name of the character corresponding to row 3 cell 33 of the kanji set are “LATIN CAPITAL LETTER A”. In International Reference Version + 8-bit code for kanji, whether by the bit pattern 4/1 or by the bit pattern corresponding to the kanji set’s row 3 cell 33 (10/3 12/1), the letter “A” (i.e. “LATIN CAPITAL LETTER A”) is represented. The standard forbids the use of the “10/3 12/1” bit pattern, in an attempt to eliminate the duplicate encoding.

In consideration to implementations that treat the characters of the code points in the kanji set as “full-width characters” and those of the IRV character set or the graphic character set for Latin characters as different characters, the use of the kanji set code points is permitted only for the sake of backwards compatibility. For example, for the purpose of backwards compatibility, it is permitted to consider 10/3 12/1 in International Reference Version + 8-bit code for kanji to correspond to a full-width “A”.

If the kanji set is used along with the IRV graphic character set or the graphic character set for Latin characters, then even if the standard is abided by strictly, the unique encoding of a character is not guaranteed. For example, in the International Reference Version + 8-bit code for kanji, it is valid to represent a hyphen with the bit pattern 2/13 for the character “HYPHEN-MINUS”, as well as with the kanji set’s row 1 cell 30 (bit pattern 10/1 11/14) for the character “HYPHEN”. In addition, the standard does not define which of the two to use for what, and so the hyphen is not given one unique encoding. The same problem affects the minus sign, the quotation marks, and so forth.

Moreover, even if the kanji set is used as a separate code, there is no guarantee that the unique encoding of characters is implemented. In many cases, however, the full-width “IDEOGRAPHIC SPACE” at row 1 cell 1 and the half-width space (2/0) coexist. How the two should be different is not self-explanatory, and is not specified in the standard.

History

Until five years have passed after a Japanese Industrial Standard has been established, reaffirmed, or revised, the prior standard undergoes a process of reaffirmation, revision, or withdrawal. Since establishment, the standard has been subject to revision three times, and at present, the fourth standard is valid.

First standard

The first standard is JIS C 6226-1978 “Code of Japanese Graphic Character Set for Information Interchange” (情報交換用漢字符号系 Jōhō Kōkan'yō Kanji Fugōkei), established by the Japanese Minister of International Trade and Industry on 1 January 1978. It is also called 78JIS for short. Entrusted by the Agency of Industrial Science and Technology, a JIPDEC kanji code standardization research and study committee produced the draft. The committee chairman was Moriguchi Shigeichi.

There are 108 special characters, 3384 level 2 kanji, and box-drawing characters are not included. Accordingly, the kanji set was composed of 453 non-kanji and 6349 kanji for a total of 6802 characters. The standard itself was set in Shaken Co., Ltd’s Ishii Mincho typeface.

Second standard

The second standard JIS C 6226-1983 “Code of Japanese Graphic Character Set for Information Interchange” (情報交換用漢字符号系 Jōhō Kōkan'yō Kanji Fugōkei) revised the first standard on 1 September 1983. It is also called 83JIS. Entrusted by the AIST, a JIPDEC kanji code-related JIS committee produced the draft. The committee chairman was Motooka Tōru.

The draft of the second standard was based on the consideration of factors such as the promulgation of the jōyō kanji, the enforcement of the jinmeiyō kanji, and the standardization of Japanese-language Teletex by the Ministry of Posts and Telecommunications; also, the next modification was performed to keep pace with JIS C 6234-1983 (24-pixel matrix printer character forms; presently JIS X 9052).

Addition of special characters
39 characters were added to the special characters. Among these 39, per JICST recommendations, and from such standards as JIS Z 8201-1981 (mathematical symbols) and JIS Z 8202-1982 (quantity, unit, and chemical symbols), things that could not be represented by composition were chosen.
Newly added box-drawing characters
32 box-drawing characters were added.
Swapping of itaiji code points
Code points were swapped for 22 sets of level 1 and level 2 kanji with mutually related itaiji. For example, (level 1’s) row 36 cell 59 in the first standard () was moved to (level 2’s) row 52 cell 68; the point originally at row 52 cell 68 () was in turn moved to row 36 cell 59.
Additions to the level 2 kanji
Three characters from level 1 and one character from level 2 were given new code points at previously unassigned code points in row 84 as level 2 kanji. Itaiji for each of those code points were moved into their original locations. For example, row 84 cell 1 in the second standard () was moved there to accommodate a different form not included in the first standard at row 22 cell 38 as a level 1 kanji ().
Modification of character forms
The character forms of approximately 300 kanji were amended.[10]

Among the changes in those 300 or so kanji character forms, many level 1 glyphs that were in the style of the Kangxi Dictionary were changed into variants, and especially more simplified forms (e.g. ryakuji and extended shinjitai). For example, a couple of code points that are often the subject of criticism due to being greatly changed are row 18 cell 10 (78JIS: , 83JIS: ) and row 38 cell 34 (78JIS: , 83JIS: ).

There were many smaller changes away from the Kangxi-style variants; for example, row 25 cell 84 () lost part of a stroke. Also, where some glyphs for level 1 kanji were not Kangxi-style forms, there were some changed into their Kangxi-style forms; for example, row 80 cell 49 () gained part of a stroke (i.e., the same part of the stroke that 25-84 lost).

In order to elucidate the original intent of the first standard, these ended up falling into parameters for unification criteria in the fourth standard. The difference in form for the examples noted above (“” and “”) falls under the parameters for unification criterion 42 (concerning the component “”).[11]

The bulk of the changes to character forms are differences between level 1 and level 2 kanji. Specifically, simplification was done more often for level 1 kanji than for level 2 kanji; simplifications applied to level 1 kanji (e.g. “” to “” and “” to “”) were not generally applied to kanji in level 2 (“” stayed as-is). The aforementioned 25-84 () and 80-49 () were given different treatment likewise, as the former is in level 1 and the latter is in level 2. Even so, there were some changes regardless of the level; for instance characters containing the “door” () and “winter” () components were changed with no different treatment between level 1 and level 2 kanji.

However, for 29 code points (such as the problematic 18-10 and 38-34 mentioned above), the forms inherited by the fourth standard contradicts the original intent of the first. For these, there are special unification criteria to maintain compatibility with the previous standards at these code points.

When the new “X” category for Japanese Industrial Standards (for information-related fields) was introduced, the second standard was re-termed JIS X 0208-1983 on 1 March 1987.

Third standard

The third standard JIS X 0208-1990 “Code of Japanese Graphic Character Set for Information Interchange” (情報交換用漢字符号 Jōhō Kōkan'yō Kanji Fugō) revised the second standard on 1 September 1990. It is also called 90JIS for short. Entrusted by the AIST, a committee at the Japanese Standards Association for the revision of JIS X 0208 created the draft. The committee chairman was Tajima Kazuo.

225 kanji glyphs were changed, and two characters were added to level 2 (“” and “”). Some of the changes and the two additions corresponded to the 118 jinmeiyō kanji added in March 1990. The standard itself was set in Heisei Mincho.

Fourth standard

The fourth standard JIS X 0208:1997 “7-bit and 8-bit double byte coded KANJI sets for information interchange” (7ビット及び8ビットの2バイト情報交換用符号化漢字集合 Nana-Bitto Oyobi Hachi-Bitto no Ni-Baito Jōhō Kōkan'yō Fugōka Kanji Shūgō) revised the third standard on 20 January 1997. It is also called 97JIS for short. Entrusted by the AIST, a JSA committee for research and study of coded character sets produced the draft. The committee chairman was Shibano Kōji.

The basic policies of this revision were to perform no changes the character set, to clarify ambiguous provisions, and to make the standard relatively easier to use. Addition, removal, and code point rearrangement were not done, and without exception, the example glyphs were also left unchanged. However, the stipulations of the standard were completely re-written and/or supplemented. Whereas the third standard was 65 pages long without the explanations, the fourth standard was 374 pages without the explanations.

The main points of the revision are:

Definition of encoding methods
Until the third standard, only the encoding method based on JIS X 0202 code extension was defined. This is something unusual as far as coded character sets go. In the fourth standard, encoding methods that do not use escape sequences for the purpose of code extension were defined.
Definition of the general prohibition of the use of unassigned code points and methods of usage for unassigned code points
The third standard, in an explanation that was not part of the standard, described things as if there were places where for some unassigned code points, it was acceptable to assign gaiji. In the fourth standard, it was clarified that use of unassigned code points is generally prohibited. Also, the conditions for the usage of unassigned code points were specified.
General elimination of duplicate encodings
Each character was given a “character name” that maps to those of other standards. Also, encoding methods to use them together with the ISO/IEC 646’s International Reference Version or JIS X 0201 were specified. When JIS X 0208 is used together with either, among two assigned code points for characters with the same name, only one is permitted; thus, duplicate encodings were generally eliminated.
Investigation into sources of kanji
Characters included in the standard so far that are found in neither the Kangxi Dictionary nor the Dai Kanwa Jiten were identified. Accordingly, exactly with what purpose for inclusion and from which sources these kanji came during compilation of the first standard was investigated.
Definition of kanji unification criteria
Based on things such as the materials for the drafting of the first standard, an attempt was made to restore the intent of the first standard for the scope of the glyphs each code point represents. Moreover, the criteria for unifying kanji glyphs were clearly defined.
Inclusion of de facto standards
By the time of the fourth standard, the encoding methods Shift JIS and ISO-2022-JP had become de facto standards for personal computing and e-mail, respectively. These encoding methods were included as “Shift-Coded Representation” and “RFC 1468-Coded Representation” (described above).

Future

JIS X 0213 (extended kanji) was designed “with the goal being to offer a sufficient character set for the purposes of encoding the modern Japanese language that JIS X 0208 intended to be from the start”;[12] it defines a character set that expands upon the kanji set of JIS X 0208. The drafters of JIS X 0213 recommend migration from JIS X 0208 to JIS X 0213, among the advantages being JIS X 0213’s compatibility with the Hyōgai Kanji Glyph List and with newer jinmeiyō kanji.

Contrary to the expectations of the drafters, adoption of JIS X 0213 has been anything but fast since its enactment in the year 2000. The drafting committee of JIS X 0213:2004 wrote (in the year 2004), “The status where ‘what the majority of information systems can use in common is JIS X 0208 only’ still continues.” (JIS X 0213:2000, Appendix 1:2004, section 2.9.7)

For Microsoft Windows, the predominant operating system (and hence supplying the predominant desktop environment) in the personal computing sector, the JIS X 0213 repertoire has been included since Windows Vista, released in November 2006. Mac OS X has been compatible with JIS X 0213 since version 10.1 (released in 2001). Many Unix-likes such as Linux can (optionally) support JIS X 0213 if desired. Therefore, it is thought that with time, JIS X 0213 support on personal computers will not be an impediment to its eventual adoption.

Among the drafters of JIS X 0213, there are those who expect to see a mix of JIS X 0208 and JIS X 0213 before any adoption of JIS X 0213 (Satō, 2004). However, JIS X 0208 continues to be used for the present, and many predict it to endure as a standard. There are barriers that need to be overcome if JIS X 0213 is to supplant JIS X 0208 in common usage:

Implementations

Because JIS X 0208 / JIS C 6226 is primarily a character set and not a strictly defined character encoding, several companies have implemented their own encodings of the character set.

Relation to other standards

ISO/IEC 646 IRV

As noted above, the kanji set is not upwardly compatible with the ISO/IEC 646 IRV graphic character set. The kanji set and the IRV graphic character set can be used together as specified in JIS X 0208 (IRV + 7-bit code for kanji and IRV + 8-bit code for kanji). They can be used together in EUC-JP as well.

JIS X 0201

The kanji set lacks three characters included in JIS X 0201’s graphic character set for Latin characters: 2/2 (QUOTATION MARK), 2/7 (APOSTROPHE), and 2/13 (HYPHEN-MINUS). The kanji set contains all character included in JIS X 0201’s graphic character set for katakana.

The kanji set and the graphic character set for Latin characters can be used together as specified in JIS X 0208 (Latin characters + 7-bit code for kanji and the Latin characters + 8-bit code for kanji). The kanji set, graphic character set for Latin characters, and JIS X 0201’s graphic character set for katakana can be used together as specified in JIS X 0208 (the shift-coded character set; i.e. Shift JIS). The kanji set and graphic character set for katakana can be used together in EUC-JP.

JIS X 0212

JIS X 0212 (supplementary kanji) defines additional characters for JIS X 0208 and their code points for the purposes of information processing that requires characters not found in JIS X 0208.

Among the code points that the second version of JIS X 0208 changed, 28 code points in JIS X 0212 reflect the character forms from before the changes. Also, JIS X 0212 reassigns the “closure mark” () that JIS X 0208 had assigned as a non-kanji (at row 1 cell 26) as a kanji (at row 16 cell 17). JIS X 0212 has no characters in common with JIS X 0208 other than these.

JIS X 0208 and JIS X 0212 can be used together in EUC-JP. Also, JIS X 0208 and JIS X 0212 are both source standards for UCS/Unicode’s Han unification, so using UCS/Unicode, the kanji from both standards can be made to coexist.

However, in the fourth version of JIS X 0208, the connection to JIS X 0212 was not defined at all. It is believed that this is because the drafting committee of the fourth JIS X 0208 standard had a critical opinion of the selection and identification methods of JIS X 0212.[13] The text of the fourth standard, as well as pointing out the problematic points of the character selection of JIS X 0212, states that “it is thought that not only is character selection impossible, it is also impossible to use together; the connection to JIS X 0212 is not defined at all.” (section 3.3.1)

JIS X 0213

JIS X 0213 (extension kanji) defines a kanji set that expands upon the kanji set of JIS X 0208. According to this standard, it is “designed with the goal being to offer a sufficient character set for the purposes of encoding the modern Japanese language that JIS X 0208 intended to be from the start.”[12]

JIS X 0208 and JIS X 0213 cannot be used at the same time. The kanji set of JIS X 0213 includes all characters that can be represented in the kanji set of JIS X 0208; they are part and parcel of the 1183 non-kanji and 10,050 kanji (for a total of 11,233 characters) codes defined by JIS X 0213.

At first, JIS X 0213 may appear to define or offer as a reference an upwardly compatible coded character set for JIS X 0208. However, in a strict sense, JIS X 0213 is not upwardly compatible with JIS X 0208. The JIS X 0213 drafting committee admitted as such (JIS X 0213:2000 section 5.3.2, JIS X 0213:2000 Appendix 1:2004 section 3.2.2).

This is because of the unification criteria that apply to some JIS X 0208 code points; namely, some different kanji glyphs that were represented by one JIS X 0208 code point due to their being unified are given separate code points in JIS X 0213. For this reason, data encoded according to JIS X 0208 codes cannot necessarily be directly converted into JIS X 0213 codes and remain correct.

For example, the glyph at row 33 cell 46 of JIS X 0208 (“”, described above) unifies a few variants due to its right-hand component. In JIS X 0213, two forms (the ones containing the component “”) are unified on plane 1 row 33 cell 46, and the other (containing the component “”) is located at plane 1 row 14 cell 41. Therefore, whether JIS X 0208 row 33 cell 46 should be mapped to JIS X 0213 plane 1 row 33 cell 46 or plane 1 row 14 cell 41 is computationally indeterminate.[14]

For the most part, row m cell n in JIS X 0208 corresponds to plane 1 row m cell n in JIS X 0213; therefore, not much confusion arises in practice. This is because most typefaces have come to use the glyphs exemplified in JIS X 0208, and most users are not consciously aware of the unification criteria.

ISO/IEC 10646 and Unicode

The kanji set of JIS X 0208 is among the original source standards for the Han unification in ISO/IEC 10646 (UCS) and Unicode. Every kanji in JIS X 0208 corresponds to its own code point in UCS/Unicode’s Basic Multilingual Plane (BMP).

The non-kanji in JIS X 0208 also correspond to their own code points in the BMP. However, for some special characters, some systems implement a different correspondences from those of UCS/Unicode’s (which are based on the character names given JIS X 0208:1997).

Footnotes

  1. JIS X 0208 was not one of the standards included in the list of applicable target systems for display of the new JIS mark announced by the Ministry of Economy, Trade and Industry on 17 January 2007.
  2. As shown in the code tables registered at the International Register of Coded Character Sets To Be Used With Escape Sequences, prior to the fourth standard (1997), the ku (?) and ten (?) were called “section” and “position” respectively in English. As to the background of the change in the English, in the JIS X 0221-1995 (UCS) standard that translated ISO/IEC 10646-1:1993, “group”, “plane”, “row”, and “cell” can be translated into gun (?) , men (?) , ku (?) , and ten (?) . However, the row and cell of JIS X 0208 and the row and cell of the UCS are different ideas.
  3. Character names are given in Roman letters and are used internationally, so they can be considered an international convention, somewhat like the scientific names of living organisms. In regard to this analogy, the Japanese common names for the characters would be like using common names for organisms.
  4. JIS C 6225-1979 (control character codes for the purpose of the Japanese graphic character set for information interchange) provided control characters for the beginning and end of composition. JIS C 6225 was re-termed JIS X 0207 in 1987, and was withdrawn in 1997.
  5. For a fully featured kana-order search or sort, word readings, repetition marks, and so forth must be taken into account. The sorting of Japanese character strings is prescribed in JIS X 4061 (Collation of Japanese character strings).
  6. According to Yasuoka (2001a), it seems there were some accidental oversights. He notes, for example, that the ba (?, 58-57) of Inba and the shi (?, 61-89) of Shisui, Kumamoto are not part of level 1.
  7. For row 19 cells 30 and 31, the order is mixed up for their representative readings. Consequently, where the correct order should be kaeru (?, “frog”) followed by kaori (?, “aroma”) , their positions are transposed so that kaori precedes kaeru.
  8. In addition, the primarily used variant () is at row 23 cell 85 on level 1, and one other variant () can be found grouped as having the “gold” radical at row 78 cell 63 on level 2.
  9. In the IANA character sets, Shift JIS is defined by referring to JIS X 0208:1997 Appendix 1.
  10. According to Nomura (1984), the number of character forms changed, including moves between code points, is 294. According to Shibano (1997a) and the text of the fourth standard, the number is of character forms changed is 300.
  11. The question of which glyphs within the unification criteria are to be used is left to the type designer. Depending on that (and the end-user’s circumstances), it is possible that neither, both, one, or the other of these two will follow their Kangxi-style form.
  12. 1 2 Original Japanese: 「JIS X 0208が当初符号化を意図していた現代日本語を符号化するために十分な文字集合を提供することを目的として設計された」
  13. For example, Shibano Kōji (1997a), who served as the chairman of the drafting committee for the fourth standard, stated these about the selection method: “It is based on a superficial understanding of JIS X 0208’s character set selection; it is a mistaken understanding” (original Japanese: 「JIS X 0208の文字集合選定の表層的理解に基づくものであり、間違った理解である」) and “There is a big problem in investigating all of a character set that exceeds 10000 characters.” (original Japanese: 「1万字を越える水準の文字集合の検討としては、大きな問題がある」)
  14. This is the same indetermination as to whether the “HYPHEN-MINUS” in ISO/IEC 646 should be mapped to “HYPHEN” or “MINUS SIGN” in JIS X 0208.

See also

References

For the purposes of citation, these Japanese names are presented as if they were in Western order where Romanized, and retain Eastern order where not.

Look up Japanese kanji by JIS X 0208 kuten code in Wiktionary, the free dictionary.
This article is issued from Wikipedia - version of the 11/15/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.