YAML
文字エンコーディング方式 - YAML
文字エンコーディング方式は、コンピュータが文字をデジタルデータとして扱うための符号化規格です。ASCII、UTF-8、UTF-16、Shift_JIS、EUC-JPなど様々な方式があり、それぞれ異なる文字セット、バイト構造、互換性を持ちます。現代ではUTF-8が国際標準として広く採用されていますが、日本語環境では従来のShift_JISやEUC-JPも依然として使用されています。
文字エンコーディング
Unicode
UTF-8
ASCII
Shift_JIS
EUC-JP
文字コード
国際化
- code: "ASCII"
slug: "ascii"
name: "ASCII"
description: "アメリカ標準情報交換符号。英数字と記号を7ビットで表現します。"
yearIntroduced: 1963
byteStructure: "固定長(1バイト、7ビット使用)"
maxCharacters: 128
asciiCompatible: true
japaneseSupport: false
usage: "legacy"
- code: "UTF-8"
slug: "utf-8"
name: "UTF-8"
description: "Unicodeの可変長符号化形式。ASCII互換で世界中の文字を表現します。"
yearIntroduced: 1993
byteStructure: "可変長(1〜4バイト)"
maxCharacters: 1114112
asciiCompatible: true
japaneseSupport: true
usage: "standard"
- code: "UTF-16"
slug: "utf-16"
name: "UTF-16"
description: "Unicodeの16ビット符号化形式。WindowsやJavaで広く使用されます。"
yearIntroduced: 1996
byteStructure: "可変長(2または4バイト)"
maxCharacters: 1114112
asciiCompatible: false
japaneseSupport: true
usage: "system"
- code: "UTF-32"
slug: "utf-32"
name: "UTF-32"
description: "Unicodeの固定長32ビット符号化形式。内部処理用に使用されます。"
yearIntroduced: 1996
byteStructure: "固定長(4バイト)"
maxCharacters: 1114112
asciiCompatible: false
japaneseSupport: true
usage: "internal"
- code: "Shift_JIS"
slug: "shift-jis"
name: "Shift_JIS"
description: "日本語のレガシーエンコーディング。Windowsで広く使用されていました。"
yearIntroduced: 1978
byteStructure: "可変長(1〜2バイト)"
maxCharacters: 10000
asciiCompatible: false
japaneseSupport: true
usage: "legacy"
- code: "EUC-JP"
slug: "euc-jp"
name: "EUC-JP"
description: "Unix/Linuxで使用された日本語エンコーディング。ASCII互換です。"
yearIntroduced: 1988
byteStructure: "可変長(1〜3バイト)"
maxCharacters: 11000
asciiCompatible: true
japaneseSupport: true
usage: "legacy"
- code: "ISO-2022-JP"
slug: "iso-2022-jp"
name: "ISO-2022-JP"
description: "7ビットエスケープシーケンス方式の日本語エンコーディング。メールで使用。"
yearIntroduced: 1983
byteStructure: "7ビット可変長(エスケープシーケンス使用)"
maxCharacters: 10000
asciiCompatible: true
japaneseSupport: true
usage: "legacy"
- code: "GB2312"
slug: "gb2312"
name: "GB2312"
description: "中国語簡体字の国家標準エンコーディング。"
yearIntroduced: 1980
byteStructure: "可変長(1〜2バイト)"
maxCharacters: 7445
asciiCompatible: false
japaneseSupport: false
usage: "legacy"
- code: "Big5"
slug: "big5"
name: "Big5"
description: "台湾・香港で使用される繁体字中国語のエンコーディング。"
yearIntroduced: 1984
byteStructure: "可変長(1〜2バイト)"
maxCharacters: 13000
asciiCompatible: false
japaneseSupport: false
usage: "legacy"
- code: "Windows-1252"
slug: "windows-1252"
name: "Windows-1252"
description: "Windowsで使用される西欧言語用のエンコーディング。"
yearIntroduced: 1992
byteStructure: "固定長(1バイト)"
maxCharacters: 256
asciiCompatible: true
japaneseSupport: false
usage: "legacy"