37,011
edits
m (Daniel Carrero moved page Character encoding in Generation II/Korean to Korean character encoding (Generation II)) |
m (→Intro) |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{main|Character encoding (Generation II)}} | {{main|Character encoding (Generation II)}} | ||
This is the '''[[character encoding]]''' used in the Korean version of {{game|Gold and Silver|s}}. | |||
==Character map== | ==Character map== | ||
All control characters print characters that are two tiles high. (A single character's width is always one tile. A "tile" is an | All control characters print characters that are two tiles high. (A single character's width is always one tile. A "tile" is an 8×8 pixel square; for comparison, the player occupies a 2×2-tile square.) | ||
Those characters marked with two asterisks (**) are the first byte of two-byte characters (detailed below), which primarily print Korean characters. Those marked with a single asterisk are control characters which are explained below. | Those characters marked with two asterisks (**) are the first byte of two-byte characters (detailed below), which primarily print Korean characters. Those marked with a single asterisk are control characters which are explained below. | ||
Line 7: | Line 10: | ||
The character map also contains some tiles that contain bits and pieces of Korean characters. | The character map also contains some tiles that contain bits and pieces of Korean characters. | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 89: | Line 92: | ||
| 0x47 || Prints <code>포켓몬</code> ([[Pokémon]]). | | 0x47 || Prints <code>포켓몬</code> ([[Pokémon]]). | ||
|- | |- | ||
| 0x48 || Prints <code>{{j| | | 0x48 || Prints <code>{{j|……}}</code>. | ||
|- | |- | ||
| 0x49 || Prints <code>컴퓨터</code> ([[PC]]). | | 0x49 || Prints <code>컴퓨터</code> ([[PC]]). | ||
Line 143: | Line 146: | ||
Many byte pairs will print an empty space, but most are unused. In most dialogue, 0x7F is used to display a space, while in user-input strings, <code>0B FF</code> is inserted when the player uses a space. (This seems to be because the game requires that all user-input strings use pairs of bytes; if they didn't, the "maximum" length could vary significantly.) Similarly, while byte pairs starting with 0x00 and 0x0B have identical outputs, the game only naturally uses 0x0B pairs. | Many byte pairs will print an empty space, but most are unused. In most dialogue, 0x7F is used to display a space, while in user-input strings, <code>0B FF</code> is inserted when the player uses a space. (This seems to be because the game requires that all user-input strings use pairs of bytes; if they didn't, the "maximum" length could vary significantly.) Similarly, while byte pairs starting with 0x00 and 0x0B have identical outputs, the game only naturally uses 0x0B pairs. | ||
For the most part, the Korean characters | For the most part, the available Korean characters match the 2,350 hangul syllables present in the {{wp|KS X 1001}} standard, as well as the 40 jamo and 5 additional syllables (뢔, 쌰, 쎼, 쓔, 쬬) necessary to input them. The 5 additional syllables are placed in what would otherwise be empty slots between the 94-character rows from KS X 1001. The only other changes are that 겸 and 겹 are swapped, 굄 is replaced by 괻, 댜 is removed, 돐 is removed, and 읊 is replaced by 읆. | ||
This encoding does not include jamo that are exclusively as final consonants. | |||
===0x00=== | ===0x00=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 169: | Line 174: | ||
|- | |- | ||
! 6- | ! 6- | ||
| 「 || 」 || 『 || 』 || ( || ) || ! || ? || - || ~ || | | 「 || 」 || 『 || 』 || ( || ) || ! || ? || - || ~ || {{j|…}} || , || . || || || | ||
|- | |- | ||
! 7- | ! 7- | ||
Line 200: | Line 205: | ||
===0x01=== | ===0x01=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 254: | Line 259: | ||
===0x02=== | ===0x02=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 308: | Line 313: | ||
===0x03=== | ===0x03=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 362: | Line 367: | ||
===0x04=== | ===0x04=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 416: | Line 421: | ||
===0x05=== | ===0x05=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
|- | |- | ||
! 0- | ! 0- | ||
| || 벙 || 벚 || 베 || 벡 || 벤 || 벧 || 벨 || 벰 || 벱 || 벳 || | | || 벙 || 벚 || 베 || 벡 || 벤 || 벧 || 벨 || 벰 || 벱 || 벳 || 벴 || 벵 || 벼 || 벽 || 변 | ||
|- | |- | ||
! 1- | ! 1- | ||
| 별 || 볍 || 볏 || 병 || 볕 | | 별 || 볍 || 볏 || 볐 || 병 || 볕 || 볘 || 볜 || 보 || 복 || 볶 || 본 || 볼 || 봄 || 봅 || 봇 | ||
|- | |- | ||
! 2- | ! 2- | ||
| | | 봉 || 봐 || 봔 || 봤 || 봬 || 뵀 || 뵈 || 뵉 || 뵌 || 뵐 || 뵘 || 뵙 || 뵤 || 뵨 || 부 || 북 | ||
|- | |- | ||
! 3- | ! 3- | ||
| 분 || 붇 || 불 || 붐 || 붑 || 붓 || 붕 || 붙 || 붚 | | 분 || 붇 || 불 || 붉 || 붊 || 붐 || 붑 || 붓 || 붕 || 붙 || 붚 || 붜 || 붤 || 붰 || 붸 || 뷔 | ||
|- | |- | ||
! 4- | ! 4- | ||
Line 470: | Line 475: | ||
===0x06=== | ===0x06=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 524: | Line 529: | ||
===0x07=== | ===0x07=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 578: | Line 583: | ||
===0x08=== | ===0x08=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 632: | Line 637: | ||
===0x09=== | ===0x09=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 686: | Line 691: | ||
===0x0A=== | ===0x0A=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 740: | Line 745: | ||
===0x0B=== | ===0x0B=== | ||
{| class="wikitable" style="text-align: center; border-collapse: collapse" cellpadding="2px" width="375px" | |||
|- | |- | ||
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F | ||
Line 763: | Line 768: | ||
|- | |- | ||
! 6- | ! 6- | ||
| 「 || 」 || 『 || 』 || ( || ) || ! || ? || - || ~ || | | 「 || 」 || 『 || 』 || ( || ) || ! || ? || - || ~ || {{j|…}} || , || . || || || | ||
|- | |- | ||
! 7- | ! 7- |