漢字シフトコード(かんじシフトコード)とは、ISO/IEC 2022準拠符号化文字集合のエスケープシーケンスや、ベンダ独自の符号化文字集合の、1バイト文字と2バイト文字との双方の切り替え(シングルシフト・ロッキングシフト
)に使われる符号を慣用的に言い表したものである。「ここから(ここまで)漢字」という意味から「漢字in(kanji in)」「漢字out(kanji out)」、略してKIコード・KOコードと呼ぶこともある(但し、漢字以外の2バイト文字も有り得る)。
Shift_JIS、UTF-16、UTF-8のようなシングルシフト・ロッキングシフトを利用しない文字符号化では、漢字シフトコードは使用されない。 符号化文字集合16進表現文字列表現 符号化文字集合16進表現文字列表現
ISO/IEC 2022準拠符号化文字集合のエスケープシーケンス
JIS C 6226-1978(第1・第2水準漢字)1B 24 40ESC $ @
JIS X 0208-1983(第1・第2水準漢字)1B 24 42ESC $ B
JIS X 0208-1990(第1・第2水準漢字)1B 26 40 1B 24 42ESC & @ ESC $ B
JIS X 0212-1990(補助漢字)1B 24 28 44ESC $ ( D
JIS X 0213:2000 1面(第1・第2水準漢字)1B 24 28 4FESC $ ( O
JIS X 0213:2004 1面(第1・第2水準漢字)1B 24 28 51ESC $ ( Q
JIS X 0213:2000 2面(第3・第4水準漢字)1B 24 28 50ESC $ ( P
JIS X 0201 ラテン(半角英数)1B 28 4AESC ( J
JIS X 0201 カナ(半角カナ)1B 28 49ESC ( I
ISO/IEC 646(ASCII)1B 28 42ESC ( B
ベンダ独自符号化文字集合の漢字シフトコード
富士通JEF(12ポイント)28
富士通JEF(9ポイント)38
EBCDIC(富士通)29
NECJIPS-J1A70SUB p
JIS8(NEC)1A71SUB q
NECJIPS-E3F75SUB p
EBCDIC(NEC)3F76SUB q
日立KEIS0A42SMM 「
EBCDIC(日立)0A41SMM 。
IBMDBCS-Host0ESO
EBCDIC(IBM)0FSI
三菱電機JS II
EBCDIC(三菱電機)0AF1SMM 1
日本ユニシスLetsJ
ASCII+JIS8KANA63(日本ユニシス)93F1-
関連項目
文字コード
エスケープシーケンス
ISO/IEC 2022
.mw-parser-output .asbox{position:relative;overflow:hidden}.mw-parser-output .asbox table{background:transparent}.mw-parser-output .asbox p{margin:0}.mw-parser-output .asbox p+p{margin-top:0.25em}.mw-parser-output .asbox{font-size:90%}.mw-parser-output .asbox-note{font-size:90%}.mw-parser-output .asbox .navbar{position:absolute;top:-0.90em;right:1em;display:none}
この項目は、コンピュータに関連した書きかけの項目です。この項目を加筆・訂正などしてくださる協力者を求めています(PJ:コンピュータ/P:コンピュータ)。
.mw-parser-output .hlist ul,.mw-parser-output .hlist ol{padding-left:0}.mw-parser-output .hlist li,.mw-parser-output .hlist dd,.mw-parser-output .hlist dt{margin-right:0;display:inline-block;white-space:nowrap}.mw-parser-output .hlist dt:after,.mw-parser-output .hlist dd:after,.mw-parser-output .hlist li:after{white-space:normal}.mw-parser-output .hlist li:after,.mw-parser-output .hlist dd:after{content:" ・\a0 ";font-weight:bold}.mw-parser-output .hlist dt:after{content:": "}.mw-parser-output .hlist-pipe dd:after,.mw-parser-output .hlist-pipe li:after{content:" |\a0 ";font-weight:normal}.mw-parser-output .hlist-hyphen dd:after,.mw-parser-output .hlist-hyphen li:after{content:" -\a0 ";font-weight:normal}.mw-parser-output .hlist-comma dd:after,.mw-parser-output .hlist-comma li:after{content:"、";font-weight:normal}.mw-parser-output .hlist-slash dd:after,.mw-parser-output .hlist-slash li:after{content:" /\a0 ";font-weight:normal}.mw-parser-output .hlist dd:last-child:after,.mw-parser-output .hlist dt:last-child:after,.mw-parser-output .hlist li:last-child:after{content:none}.mw-parser-output .hlist dd dd:first-child:before,.mw-parser-output .hlist dd dt:first-child:before,.mw-parser-output .hlist dd li:first-child:before,.mw-parser-output .hlist dt dd:first-child:before,.mw-parser-output .hlist dt dt:first-child:before,.mw-parser-output .hlist dt li:first-child:before,.mw-parser-output .hlist li dd:first-child:before,.mw-parser-output .hlist li dt:first-child:before,.mw-parser-output .hlist li li:first-child:before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child:after,.mw-parser-output .hlist dd dt:last-child:after,.mw-parser-output .hlist dd li:last-child:after,.mw-parser-output .hlist dt dd:last-child:after,.mw-parser-output .hlist dt dt:last-child:after,.mw-parser-output .hlist dt li:last-child:after,.mw-parser-output .hlist li dd:last-child:after,.mw-parser-output .hlist li dt:last-child:after,.mw-parser-output .hlist li li:last-child:after{content:")\a0 ";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li:before{content:" "counter(listitem)" ";white-space:nowrap}.mw-parser-output .hlist dd ol>li:first-child:before,.mw-parser-output .hlist dt ol>li:first-child:before,.mw-parser-output .hlist li ol>li:first-child:before{content:" ("counter(listitem)" "}.mw-parser-output .navbar{display:inline;font-size:75%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}.mw-parser-output .infobox .navbar{font-size:88%}.mw-parser-output .navbox .navbar{display:block;font-size:88%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}
表示
編集
この項目は、文字や文字学に関連した書きかけの項目です。この項目を加筆・訂正などしてくださる協力者を求めています(P:文字)。
表示
編集
符号化文字集合
JIS X 0201
JIS X 0208
JIS X 0212
JIS X 0213
JIS X 0221(日本文字部分レパートリ)
文字符号化方式
ISO-2022-JP
EUC-JP
Shift_JIS
Shift_JISX0213
Shift_JIS-2004
EUC-JISX0213
EUC-JIS-2004
ISO-2022-JP-3
ISO-2022-JP-2004
漢字シフトコード
文字一覧
JIS X 0213非漢字一覧
JIS X 0213漢字一覧の1面
JIS X 0213漢字一覧の2面
JIS以外の公規格
MJ文字
入管正字
ARIB外字
ARIB外字の追加記号一覧
メーカーの規格
符号化文字集合
IBM拡張文字
マイクロソフト標準キャラクタセット
Adobe-Japan1
iモード絵文字
EZweb絵文字
SoftBank絵文字
今昔文字鏡
JIPS
EBCDIC
GT書体
KEIS
IBM漢字システム
レコード用文字符号
ビブロス外字
文字符号化方式
Microsoftコードページ932
MacJapanese
JEF漢字コード
U-PRESS
日本語を含む
多言語文字集合
Unicode
ISO/IEC 10646
JIS X 0221
面
基本多言語面
追加面
追加多言語面
追加漢字面
第三漢字面
追加特殊用途面