Wii character encoding (Generation IV): Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
No edit summary
Line 243: Line 243:
| class="c" | <sup>e</sup> || Superscript e<sup>{{color|0000DD|EU}}</sup>
| class="c" | <sup>e</sup> || Superscript e<sup>{{color|0000DD|EU}}</sup>
|-
|-
| U+2031 || class="c" | ‱ || PER TEN THOUSAND SIGN || class="c" |
| U+2031 || class="c" | ‱ || PER TEN THOUSAND SIGN || class="c" | &#x1f5e8; || Speech bubble
|-
| U+2500 || class="c" | ─ || BOX DRAWINGS LIGHT HORIZONTAL || class="c" | Lv || Level abbreviation in Japanese
|-
| U+2501 || class="c" | ━ || BOX DRAWINGS HEAVY HORIZONTAL || class="c" | PV || HP abbreviation in French
|-
| U+2502 || class="c" | │ || BOX DRAWINGS LIGHT VERTICAL || class="c" | Lv. || Level abbreviation in English
|-
| U+2503 || class="c" | ┃ || BOX DRAWINGS HEAVY VERTICAL || class="c" | PS || HP abbreviation in Spanish/Italian
|-
| U+250C || class="c" | ┌ || BOX DRAWINGS LIGHT DOWN AND RIGHT || class="c" | N. || Level abbreviation in French
|-
| U+250F || class="c" | ┏ || BOX DRAWINGS HEAVY DOWN AND RIGHT || class="c" | PP || PP abbreviation in Japanese/English
|-
| U+2510 || class="c" | ┐ || BOX DRAWINGS LIGHT DOWN AND LEFT || class="c" | Nv. || Level abbreviation in Spanish
|-
| U+2513 || class="c" | ┓ || BOX DRAWINGS HEAVY DOWN AND LEFT || class="c" | AP || PP abbreviation in German
|-
| U+2514 || class="c" | └ || BOX DRAWINGS LIGHT UP AND RIGHT || class="c" | No. || Number abbreviation in Japanese/English
|-
| U+2518 || class="c" | ┘ || BOX DRAWINGS LIGHT UP AND LEFT || class="c" | L. || Level abbreviation in Italian
|-
| U+251C || class="c" | ├ || BOX DRAWINGS LIGHT VERTICAL AND RIGHT || class="c" | Nr. || Number abbreviation in German
|-
| U+2524 || class="c" | ┤ || BOX DRAWINGS LIGHT VERTICAL AND LEFT || class="c" | N.º || Number abbreviation in Spanish
|-
| U+252C || class="c" | ┬ || BOX DRAWINGS LIGHT DOWN AND HORIZONTAL || class="c" | Nº || Number abbreviation in French/Italian
|-
| U+2534 || class="c" | ┴ || BOX DRAWINGS LIGHT UP AND HORIZONTAL || class="c" | HP || HP abbreviation in Japanese/English
|-
| U+253C || class="c" | ┼ || BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL || class="c" | KP || HP abbreviation in German
|-
| U+3300 || class="c" | ㌀ || SQUARE APAATO || class="c" | [[File:Character 0x3300 iv PBR.png|x20px|&#x1f611;]] || Fullwidth neutral face
|-
| U+3301 || class="c" | ㌁ || SQUARE ARUHUA || class="c" | [[File:Character 0x3301 iv PBR.png|x20px|☺]] || Fullwidth happy face
|-
| U+3302 || class="c" | ㌂ || SQUARE ANPEA || class="c" | [[File:Character 0x3302 iv PBR.png|x20px|☹]] || Fullwidth sad face
|-
| U+3303 || class="c" | ㌃ || SQUARE AARU || class="c" | [[File:Character 0x3303 iv PBR.png|x20px|&#x1f620;]] || Fullwidth angry face
|-
| U+3304 || class="c" | ㌄ || SQUARE ININGU || class="c" | [[File:Character 0x3304 iv PBR.png|x20px|⤴︎]] || Fullwidth arrow pointing rightwards then curving upwards
|-
| U+3305 || class="c" | ㌅ || SQUARE INTI || class="c" | [[File:Character 0x3305 iv PBR.png|x20px|⤵︎]] || Fullwidth arrow pointing rightwards then curving downwards
|-
| U+3306 || class="c" | ㌆ || SQUARE UON || class="c" | [[File:Character 0x3306 iv PBR.png|x20px|&#x1f4a4;]] || Fullwidth sleeping symbol
|- style="background: #ddd"
| U+3307 || class="c" | ㌇ || SQUARE ESUKUUDO || class="c" | || {{cat|Items Pocket}} icon
|- style="background: #ddd"
| U+3308 || class="c" | ㌈ || SQUARE EEKAA || class="c" | || {{cat|Key items Pocket|Key Items Pocket}} icon
|- style="background: #ddd"
| U+3309 || class="c" | ㌉ || SQUARE ONSU || class="c" | || {{cat|TMs and HMs Pocket}} icon
|- style="background: #ddd"
| U+330A || class="c" | ㌊ || SQUARE OOMU || class="c" | || {{cat|Mail Pocket}} icon
|- style="background: #ddd"
| U+330B || class="c" | ㌋ || SQUARE KAIRI || class="c" | || {{cat|Medicine Pocket}} icon
|- style="background: #ddd"
| U+330C || class="c" | ㌌ || SQUARE KARATTO || class="c" | || {{cat|Berries Pocket}} icon
|- style="background: #ddd"
| U+330D || class="c" | ㌍ || SQUARE KARORII || class="c" | || {{cat|Poké Balls Pocket}} icon
|- style="background: #ddd"
| U+330E || class="c" | ㌎ || SQUARE GARON || class="c" | || {{cat|Battle Items Pocket}} icon
|-
| U+330F || class="c" | ㌏ || SQUARE GANMA || class="c" | … || Halfwidth ellipsis
|-
| U+3310 || class="c" | ㌐ || SQUARE GIGA || class="c" | ♠ || Halfwidth black spade suit
|-
| U+3311 || class="c" | ㌑ || SQUARE GINII || class="c" | ♣ || Halfwidth black club suit
|-
| U+3312 || class="c" | ㌒ || SQUARE KYURII || class="c" | ♥ || Halfwidth black heart suit
|-
| U+3313 || class="c" | ㌓ || SQUARE GIRUDAA || class="c" | ♦ || Halfwidth black diamond suit
|-
| U+3314 || class="c" | ㌔ || SQUARE KIRO || class="c" | ★ || Halfwidth black star
|-
| U+3315 || class="c" | ㌕ || SQUARE KIROGURAMU || class="c" | ◎ || Halfwidth bullseye
|-
| U+3316 || class="c" | ㌖ || SQUARE KIROMEETORU || class="c" | ○ || Halfwidth white circle
|-
| U+3317 || class="c" | ㌗ || SQUARE KIROWATTO || class="c" | □ || Halfwidth white square
|-
| U+3318 || class="c" | ㌘ || SQUARE GURAMU || class="c" | △ || Halfwidth white up-pointing triangle
|-
| U+3319 || class="c" | ㌙ || SQUARE GURAMUTON || class="c" | ◇ || Halfwidth white diamond
|-
| U+331A || class="c" | ㌚ || SQUARE KURUZEIRO || class="c" | ♪ || Halfwidth eighth note
|-
| U+331B || class="c" | ㌛ || SQUARE KUROONE || class="c" | ☀ || Halfwidth sun with rays
|-
| U+331C || class="c" | ㌜ || SQUARE KEESU || class="c" | ☁ || Halfwidth cloud
|-
| U+331D || class="c" | ㌝ || SQUARE KORUNA || class="c" | ☂ || Halfwidth umbrella
|-
| U+331E || class="c" | ㌞ || SQUARE KOOPO || class="c" | ☃ || Halfwidth snowman
|-
| U+331F || class="c" | ㌟ || SQUARE SAIKURU || class="c" | [[File:Character 0x331F iv PBR.png|x20px|&#x1f611;]] || Halfwidth neutral face
|-
| U+3320 || class="c" | ㌠ || SQUARE SANTIIMU || class="c" | [[File:Character 0x3320 iv PBR.png|x20px|☺]] || Halfwidth happy face
|-
| U+3321 || class="c" | ㌡ || SQUARE SIRINGU || class="c" | [[File:Character 0x3321 iv PBR.png|x20px|☹]] || Halfwidth sad face
|-
| U+3322 || class="c" | ㌢ || SQUARE SENTI || class="c" | [[File:Character 0x3322 iv PBR.png|x20px|&#x1f620;]] || Halfwidth angry face
|-
| U+3323 || class="c" | ㌣ || SQUARE SENTO || class="c" | [[File:Character 0x3323 iv PBR.png|x20px|⤴︎]] || Halfwidth arrow pointing rightwards then curving upwards
|-
| U+3324 || class="c" | ㌤ || SQUARE DAASU || class="c" | [[File:Character 0x3324 iv PBR.png|x20px|⤵︎]] || Halfwidth arrow pointing rightwards then curving downwards
|-
| U+3325 || class="c" | ㌥ || SQUARE DESI || class="c" | [[File:Character 0x3325 iv PBR.png|x20px|&#x1f4a4;]] || Halfwidth sleeping symbol
|-
| U+3326 || class="c" | ㌦ || SQUARE DORU || class="c" | × || Halfwidth multiplication sign
|-
| U+3327 || class="c" | ㌧ || SQUARE TON || class="c" | ÷ || Halfwidth division sign
|-
| U+3328 || class="c" | ㌨ || SQUARE NANO || class="c" | ♂ || Halfwidth male sign
|-
| U+3329 || class="c" | ㌩ || SQUARE NOTTO || class="c" | ♀ || Halfwidth female sign
|}
 
===Control characters===
{{incomplete|section|Full list of variables/functions}}
* 0xFFFE is an {{wp|escape character}} for functions and variables. It is followed by a 16-bit integer indicating the index of the function to call.
** 0x0001 marks kanji with furigana. It is followed by two bytes, with the first indicating the number of characters in the ruby text, and the second indicating the number of characters in the base text. It is then followed by the ruby text and base text itself.
** 0x0002 marks a pause for a period of time. It is followed by a two-byte value, with the first indicating the number of frames to wait.
** 0x0003 changes the text alignment. It is followed by a two-byte value, with 1 being left-aligned, 2 being center-aligned, and 3 being right-aligned.
** 0x0003 changes the text color. It is followed by a two-byte value, with 1 being red, 2 being blue, and 3 being yellow, 4 being green, and 5 being the default.
** 0x000D is a prompt for the player to press a button to continue the dialogue, clearing the dialogue box entirely before printing the next line.
** 0x0050 prints the player's name.
** 0x8011 shifts the Y coordinate of the cursor.
** 0xF000 displays text using a larger font.
** 0xF001 displays text using a normal font.
** 0xF002 displays text using a smaller font.
** 0xF006 displays text using a font with an outline.
** 0xF100 displays text using no additional spacing between characters in Japanese games.
** 0xF101 displays text with 1 pixel of additional spacing between characters.
** 0xF101 displays text with 2 pixels of additional spacing between characters.
** 0xF101 displays text with 3 pixels of additional spacing between characters.
** 0xFFF9 displays [[PP]] in the appropriate language.
** 0xFFFA displays [[HP]] in the appropriate language.
** 0xFFFB displays [[level|Lv.]] in the appropriate language.
** 0xFFFC displays No. in the appropriate language.
** 0xFFFE is a line break.
** 0xFFFF is a terminator, marking the ends of strings.
 
==My Pokémon Ranch==
[[My Pokémon Ranch]] uses {{wp|UTF-16}} in big endian to store its text data. [[Nickname]]s and [[Original Trainer]] names of Pokémon from the handheld games are stored in the game's [[save]] file in the proprietary encoding used in those games (in little endian), and transcoded to its Unicode equivalent for display.
 
===Character set===
My Pokémon Ranch uses two main fonts: [https://fontworks.co.jp/fontsearch/pophappinessstd-eb/ Pop Happiness] is used for most text, while [https://fontworks.co.jp/fontsearch/rowdystd-eb/ Rowdy] is used for titles and button labels. The in-game clock originally used the font [https://fontworks.co.jp/fontsearch/seuratpro-b/ Seurat], but was replaced with [https://fontworks.co.jp/fontsearch/slumpstd-db/ Slump] in the Japan-exclusive Platinum update. A halfwidth question mark (<code>?</code>) is used as a fallback character for characters not included in a given font. The following Unicode characters are supported in at least one of the two fonts:
 
{| class="wikitable sortable expandable" style="border-collapse: collapse"
! rowspan="2" | Block range
! rowspan="2" | Block name
! colspan="2" | Supported code points
|-
! Ranges
! Count
|-
| style="font-family:monospace,monospace" data-sort-value="0" | U+0000..U+007F
| {{wp|Basic Latin (Unicode block)|Basic Latin}}
| style="font-family:monospace,monospace" | U+0020..U+007E
| class="r" | 95
|-
| style="font-family:monospace,monospace" data-sort-value="128" | U+0080..U+00FF
| {{wp|Latin-1 Supplement}}
| style="font-family:monospace,monospace" | U+00A1..U+00FE
| class="r" | 95
|-
| style="font-family:monospace,monospace" data-sort-value="256" | U+0100..U+017F
| {{wp|Latin Extended-A}}
| style="font-family:monospace,monospace" | U+0152..U+0153, U+0160..U+0161, U+0178, U+017D..U+017E
| class="r" | 7
|-
| style="font-family:monospace,monospace" data-sort-value="880" | U+0370..U+03FF
| {{wp|Greek and Coptic}}
| style="font-family:monospace,monospace" | U+037E, U+0384..U+038A, U+038C, U+038E..U+03A1, U+03A3..U+03CE
| class="r" | 73
|-
| style="font-family:monospace,monospace" data-sort-value="8192" | U+2000..U+206F
| {{wp|General Punctuation}}
| style="font-family:monospace,monospace" | U+2010, U+2013..U+2015, U+2018..U+201A, U+201C..U+201E, U+2020..U+2022, U+2025..U+2026, U+2030, U+2032..U+2033, U+2039..U+203B
| class="r" | 21
|-
| style="font-family:monospace,monospace" data-sort-value="8352" | U+20A0..U+20CF
| {{wp|Currency Symbols (Unicode block)|Currency Symbols}}
| style="font-family:monospace,monospace" | U+20AC
| class="r" | 1
|-
| style="font-family:monospace,monospace" data-sort-value="8448" | U+2100..U+214F
| {{wp|Letterlike Symbols}}
| style="font-family:monospace,monospace" | U+2103, U+2122, U+212B
| class="r" | 3
|-
| style="font-family:monospace,monospace" data-sort-value="8592" | U+2190..U+21FF
| {{wp|Arrows (Unicode block)|Arrows}}
| style="font-family:monospace,monospace" | U+2190..U+2193, U+21D2, U+21D4
| class="r" | 6
|-
| style="font-family:monospace,monospace" data-sort-value="8704" | U+2200..U+22FF
| {{wp|Mathematical Operators (Unicode block)|Mathematical Operators}}
| style="font-family:monospace,monospace" | U+2200, U+2202..U+2203, U+2207..U+2208, U+220B, U+221A, U+221D..U+221E, U+2220, U+2225, U+2227..U+222C, U+2234..U+2235, U+223D, U+2252, U+2260..U+2261, U+2266..U+2267, U+226A..U+226B, U+2282..U+2283, U+2286..U+2287, U+22A5
| class="r" | 32
|-
| style="font-family:monospace,monospace" data-sort-value="8960" | U+2300..U+23FF
| {{wp|Miscellaneous Technical}}
| style="font-family:monospace,monospace" | U+2312
| class="r" | 1
|-
| style="font-family:monospace,monospace" data-sort-value="9632" | U+25A0..U+25FF
| {{wp|Geometric Shapes (Unicode block)|Geometric Shapes}}
| style="font-family:monospace,monospace" | U+25A0..U+25A1, U+25B2..U+25B3, U+25BC..U+25BD, U+25C6..U+25C7, U+25CB, U+25CE..U+25CF, U+25EF
| class="r" | 12
|-
| style="font-family:monospace,monospace" data-sort-value="9728" | U+2600..U+26FF
| {{wp|Miscellaneous Symbols}}
| style="font-family:monospace,monospace" | U+2605..U+2606, U+2640, U+2642, U+2660..U+2667, U+266A, U+266D, U+266F
| class="r" | 15
|-
| style="font-family:monospace,monospace" data-sort-value="12288" | U+3000..U+303F
| {{wp|CJK Symbols and Punctuation}}
| style="font-family:monospace,monospace" | U+3000..U+3003, U+3005..U+3015
| class="r" | 21
|-
| style="font-family:monospace,monospace" data-sort-value="12352" | U+3040..U+309F
| {{wp|Hiragana (Unicode block)|Hiragana}}
| style="font-family:monospace,monospace" | U+3041..U+3093, U+309B..U+309E
| class="r" | 87
|-
| style="font-family:monospace,monospace" data-sort-value="12448" | U+30A0..U+30FF
| {{wp|Katakana (Unicode block)|Katakana}}
| style="font-family:monospace,monospace" | U+30A1..U+30F6, U+30FB..U+30FE
| class="r" | 90
|-
| style="font-family:monospace,monospace" data-sort-value="13056" | U+3300..U+33FF
| {{wp|CJK Compatibility}}
| style="font-family:monospace,monospace" | U+3300..U+3306
| class="r" | 7
|-
| style="font-family:monospace,monospace" data-sort-value="19968" | U+4E00..U+9FFF
| {{wp|CJK Unified Ideographs (Unicode block)|CJK Unified Ideographs}}
| The 2 kanji in the game's title (牧, 場), 8 kanji for the days of the week (日, 月, 火, 水, 木, 金, 土, 曜), 4 kanji for units of time (年, 時, 分, 秒), and the repetition mark 仝
| class="r" | 15
|-
| style="font-family:monospace,monospace" data-sort-value="57344" | U+E000..U+F8FF
| {{wp|Private Use Area (Unicode block)|Private Use Area}}
| style="font-family:monospace,monospace" | U+E000..U+E06B, U+E077
| class="r" | 109
|-
| style="font-family:monospace,monospace" data-sort-value="65280" | U+FF00..U+FFEF
| {{wp|Halfwidth and Fullwidth Forms (Unicode block)|Halfwidth and Fullwidth Forms}}
| style="font-family:monospace,monospace" | U+FF01, U+FF03..U+FF06, U+FF08..U+FF5E, U+FFE0..U+FFE3, U+FFE5
| class="r" | 97
|- class="sortbottom"
! colspan="3" style="text-align: right" | Total:
| class="r" | 787
|}
 
===Transcoding===
A {{wp|lookup table}} is used to map characters from the proprietary encoding to their UTF-16 equivalent.
* Both 0x0000 and 0xFFFF are mapped to the end-of-string terminator.
* Cells containing <code>␀</code> indicate the value is mapped to <code>U+0000</code> (the {{wp|null character}}). This is displayed as a halfwidth question mark.
* Cells containing <code>�</code> indicate the value is mapped to a private use character, which are detailed in a separate table below.
* Any value from 0x0201 onward is transcoded as a fullwidth question mark.
 
The following table describes the code points that correspond to each value in the proprietary encoding. Note that for symbols with no halfwidth and fullwidth distinction in Unicode, both values are mapped to the same character.
 
{| class="wikitable" style="text-align: center; border-collapse: collapse"
|- style="white-space: nowrap"
! || -0 || -1 || -2 || -3 || -4 || -5 || -6 || -7 || -8 || -9 || -A || -B || -C || -D || -E || -F
|-
! 000-
| style="background: #ddd" | {{tt|␃|Terminator}} || lang="ja" style="background: #ffd" | {{tt|<span style{{=}}"white-space: pre; padding: 0; background-color: teal">&#x3000;</span>|Fullwidth space}} || lang="ja" style="background: #ffd" | ぁ || lang="ja" style="background: #ffd" | あ || lang="ja" style="background: #ffd" | ぃ || lang="ja" style="background: #ffd" | い || lang="ja" style="background: #ffd" | ぅ || lang="ja" style="background: #ffd" | う || lang="ja" style="background: #ffd" | ぇ || lang="ja" style="background: #ffd" | え || lang="ja" style="background: #ffd" | ぉ || lang="ja" style="background: #ffd" | お || lang="ja" style="background: #ffd" | か || lang="ja" style="background: #ffd" | が || lang="ja" style="background: #ffd" | き || lang="ja" style="background: #ffd" | ぎ
|-
! 001-
| lang="ja" style="background: #ffd" | く || lang="ja" style="background: #ffd" | ぐ || lang="ja" style="background: #ffd" | け || lang="ja" style="background: #ffd" | げ || lang="ja" style="background: #ffd" | こ || lang="ja" style="background: #ffd" | ご || lang="ja" style="background: #ffd" | さ || lang="ja" style="background: #ffd" | ざ || lang="ja" style="background: #ffd" | し || lang="ja" style="background: #ffd" | じ || lang="ja" style="background: #ffd" | す || lang="ja" style="background: #ffd" | ず || lang="ja" style="background: #ffd" | せ || lang="ja" style="background: #ffd" | ぜ || lang="ja" style="background: #ffd" | そ || lang="ja" style="background: #ffd" | ぞ
|-
! 002-
| lang="ja" style="background: #ffd" | た || lang="ja" style="background: #ffd" | だ || lang="ja" style="background: #ffd" | ち || lang="ja" style="background: #ffd" | ぢ || lang="ja" style="background: #ffd" | っ || lang="ja" style="background: #ffd" | つ || lang="ja" style="background: #ffd" | づ || lang="ja" style="background: #ffd" | て || lang="ja" style="background: #ffd" | で || lang="ja" style="background: #ffd" | と || lang="ja" style="background: #ffd" | ど || lang="ja" style="background: #ffd" | な || lang="ja" style="background: #ffd" | に || lang="ja" style="background: #ffd" | ぬ || lang="ja" style="background: #ffd" | ね || lang="ja" style="background: #ffd" | の
|-
! 003-
| lang="ja" style="background: #ffd" | は || lang="ja" style="background: #ffd" | ば || lang="ja" style="background: #ffd" | ぱ || lang="ja" style="background: #ffd" | ひ || lang="ja" style="background: #ffd" | び || lang="ja" style="background: #ffd" | ぴ || lang="ja" style="background: #ffd" | ふ || lang="ja" style="background: #ffd" | ぶ || lang="ja" style="background: #ffd" | ぷ || lang="ja" style="background: #ffd" | へ || lang="ja" style="background: #ffd" | べ || lang="ja" style="background: #ffd" | ぺ || lang="ja" style="background: #ffd" | ほ || lang="ja" style="background: #ffd" | ぼ || lang="ja" style="background: #ffd" | ぽ || lang="ja" style="background: #ffd" | ま
|-
! 004-
| lang="ja" style="background: #ffd" | み || lang="ja" style="background: #ffd" | む || lang="ja" style="background: #ffd" | め || lang="ja" style="background: #ffd" | も || lang="ja" style="background: #ffd" | ゃ || lang="ja" style="background: #ffd" | や || lang="ja" style="background: #ffd" | ゅ || lang="ja" style="background: #ffd" | ゆ || lang="ja" style="background: #ffd" | ょ || lang="ja" style="background: #ffd" | よ || lang="ja" style="background: #ffd" | ら || lang="ja" style="background: #ffd" | り || lang="ja" style="background: #ffd" | る || lang="ja" style="background: #ffd" | れ || lang="ja" style="background: #ffd" | ろ || lang="ja" style="background: #ffd" | わ
|-
! 005-
| lang="ja" style="background: #ffd" | を || lang="ja" style="background: #ffd" | ん || lang="ja" style="background: #ffd" | ァ || lang="ja" style="background: #ffd" | ア || lang="ja" style="background: #ffd" | ィ || lang="ja" style="background: #ffd" | イ || lang="ja" style="background: #ffd" | ゥ || lang="ja" style="background: #ffd" | ウ || lang="ja" style="background: #ffd" | ェ || lang="ja" style="background: #ffd" | エ || lang="ja" style="background: #ffd" | ォ || lang="ja" style="background: #ffd" | オ || lang="ja" style="background: #ffd" | カ || lang="ja" style="background: #ffd" | ガ || lang="ja" style="background: #ffd" | キ || lang="ja" style="background: #ffd" | ギ
|-
! 006-
| lang="ja" style="background: #ffd" | ク || lang="ja" style="background: #ffd" | グ || lang="ja" style="background: #ffd" | ケ || lang="ja" style="background: #ffd" | ゲ || lang="ja" style="background: #ffd" | コ || lang="ja" style="background: #ffd" | ゴ || lang="ja" style="background: #ffd" | サ || lang="ja" style="background: #ffd" | ザ || lang="ja" style="background: #ffd" | シ || lang="ja" style="background: #ffd" | ジ || lang="ja" style="background: #ffd" | ス || lang="ja" style="background: #ffd" | ズ || lang="ja" style="background: #ffd" | セ || lang="ja" style="background: #ffd" | ゼ || lang="ja" style="background: #ffd" | ソ || lang="ja" style="background: #ffd" | ゾ
|-
! 007-
| lang="ja" style="background: #ffd" | タ || lang="ja" style="background: #ffd" | ダ || lang="ja" style="background: #ffd" | チ || lang="ja" style="background: #ffd" | ヂ || lang="ja" style="background: #ffd" | ッ || lang="ja" style="background: #ffd" | ツ || lang="ja" style="background: #ffd" | ヅ || lang="ja" style="background: #ffd" | テ || lang="ja" style="background: #ffd" | デ || lang="ja" style="background: #ffd" | ト || lang="ja" style="background: #ffd" | ド || lang="ja" style="background: #ffd" | ナ || lang="ja" style="background: #ffd" | ニ || lang="ja" style="background: #ffd" | ヌ || lang="ja" style="background: #ffd" | ネ || lang="ja" style="background: #ffd" | ノ
|-
! 008-
| lang="ja" style="background: #ffd" | ハ || lang="ja" style="background: #ffd" | バ || lang="ja" style="background: #ffd" | パ || lang="ja" style="background: #ffd" | ヒ || lang="ja" style="background: #ffd" | ビ || lang="ja" style="background: #ffd" | ピ || lang="ja" style="background: #ffd" | フ || lang="ja" style="background: #ffd" | ブ || lang="ja" style="background: #ffd" | プ || lang="ja" style="background: #ffd" | ヘ || lang="ja" style="background: #ffd" | ベ || lang="ja" style="background: #ffd" | ペ || lang="ja" style="background: #ffd" | ホ || lang="ja" style="background: #ffd" | ボ || lang="ja" style="background: #ffd" | ポ || lang="ja" style="background: #ffd" | マ
|-
! 009-
| lang="ja" style="background: #ffd" | ミ || lang="ja" style="background: #ffd" | ム || lang="ja" style="background: #ffd" | メ || lang="ja" style="background: #ffd" | モ || lang="ja" style="background: #ffd" | ャ || lang="ja" style="background: #ffd" | ヤ || lang="ja" style="background: #ffd" | ュ || lang="ja" style="background: #ffd" | ユ || lang="ja" style="background: #ffd" | ョ || lang="ja" style="background: #ffd" | ヨ || lang="ja" style="background: #ffd" | ラ || lang="ja" style="background: #ffd" | リ || lang="ja" style="background: #ffd" | ル || lang="ja" style="background: #ffd" | レ || lang="ja" style="background: #ffd" | ロ || lang="ja" style="background: #ffd" | ワ
|-
! 00A-
| lang="ja" style="background: #ffd" | ヲ || lang="ja" style="background: #ffd" | ン || lang="ja" style="background: #ffd" | 0 || lang="ja" style="background: #ffd" | 1 || lang="ja" style="background: #ffd" | 2 || lang="ja" style="background: #ffd" | 3 || lang="ja" style="background: #ffd" | 4 || lang="ja" style="background: #ffd" | 5 || lang="ja" style="background: #ffd" | 6 || lang="ja" style="background: #ffd" | 7 || lang="ja" style="background: #ffd" | 8 || lang="ja" style="background: #ffd" | 9 || lang="ja" style="background: #ffd" | A || lang="ja" style="background: #ffd" | B || lang="ja" style="background: #ffd" | C || lang="ja" style="background: #ffd" | D
|-
! 00B-
| lang="ja" style="background: #ffd" | E || lang="ja" style="background: #ffd" | F || lang="ja" style="background: #ffd" | G || lang="ja" style="background: #ffd" | H || lang="ja" style="background: #ffd" | I || lang="ja" style="background: #ffd" | J || lang="ja" style="background: #ffd" | K || lang="ja" style="background: #ffd" | L || lang="ja" style="background: #ffd" | M || lang="ja" style="background: #ffd" | N || lang="ja" style="background: #ffd" | O || lang="ja" style="background: #ffd" | P || lang="ja" style="background: #ffd" | Q || lang="ja" style="background: #ffd" | R || lang="ja" style="background: #ffd" | S || lang="ja" style="background: #ffd" | T
|-
! 00C-
| lang="ja" style="background: #ffd" | U || lang="ja" style="background: #ffd" | V || lang="ja" style="background: #ffd" | W || lang="ja" style="background: #ffd" | X || lang="ja" style="background: #ffd" | Y || lang="ja" style="background: #ffd" | Z || lang="ja" style="background: #ffd" | a || lang="ja" style="background: #ffd" | b || lang="ja" style="background: #ffd" | c || lang="ja" style="background: #ffd" | d || lang="ja" style="background: #ffd" | e || lang="ja" style="background: #ffd" | f || lang="ja" style="background: #ffd" | g || lang="ja" style="background: #ffd" | h || lang="ja" style="background: #ffd" | i || lang="ja" style="background: #ffd" | j
|-
! 00D-
| lang="ja" style="background: #ffd" | k || lang="ja" style="background: #ffd" | l || lang="ja" style="background: #ffd" | m || lang="ja" style="background: #ffd" | n || lang="ja" style="background: #ffd" | o || lang="ja" style="background: #ffd" | p || lang="ja" style="background: #ffd" | q || lang="ja" style="background: #ffd" | r || lang="ja" style="background: #ffd" | s || lang="ja" style="background: #ffd" | t || lang="ja" style="background: #ffd" | u || lang="ja" style="background: #ffd" | v || lang="ja" style="background: #ffd" | w || lang="ja" style="background: #ffd" | x || lang="ja" style="background: #ffd" | y || lang="ja" style="background: #ffd" | z
|-
! 00E-
| style="background: #bbb" | ␀ || lang="ja" style="background: #ffd" | ! || lang="ja" style="background: #ffd" | ? || lang="ja" style="background: #ffd" | 、 || lang="ja" style="background: #ffd" | 。 || lang="ja" style="background: #ffd" | … || lang="ja" style="background: #ffd" | ・ || lang="ja" style="background: #ffd" | / || lang="ja" style="background: #ffd" | 「 || lang="ja" style="background: #ffd" | 」 || lang="ja" style="background: #ffd" | 『 || lang="ja" style="background: #ffd" | 』 || lang="ja" style="background: #ffd" | ( || lang="ja" style="background: #ffd" | ) || lang="ja" style="background: #ffd" | ♂ || lang="ja" style="background: #ffd" | ♀
|-
! 00F-
| lang="ja" style="background: #ffd" | + || lang="ja" style="background: #ffd" | ー || lang="ja" style="background: #ffd" | × || lang="ja" style="background: #ffd" | ÷ || lang="ja" style="background: #ffd" | = || lang="ja" style="background: #ffd" | ~ || lang="ja" style="background: #ffd" | : || lang="ja" style="background: #ffd" | ; || lang="ja" style="background: #ffd" | . || lang="ja" style="background: #ffd" | , || lang="ja" style="background: #ffd" | �|| lang="ja" style="background: #ffd" | � || lang="ja" style="background: #ffd" | � || lang="ja" style="background: #ffd" | � || lang="ja" style="background: #ffd" | ★ || lang="ja" style="background: #ffd" | ◎
|-
! 010-
| lang="ja" style="background: #ffd" | ○ || lang="ja" style="background: #ffd" | □ || lang="ja" style="background: #ffd" | △ || lang="ja" style="background: #ffd" | ◇ || lang="ja" style="background: #ffd" | @ || lang="ja" style="background: #ffd" | ♪ || lang="ja" style="background: #ffd" | % || lang="ja" style="background: #ffd" | � || lang="ja" style="background: #ffd" | � || lang="ja" style="background: #ffd" | � || lang="ja" style="background: #ffd" | � || lang="ja" style="background: #ffd" | ㌀ || lang="ja" style="background: #ffd" | ㌁ || lang="ja" style="background: #ffd" | ㌂ || lang="ja" style="background: #ffd" | ㌃ || lang="ja" style="background: #ffd" | ㌄
|-
! 011-
| lang="ja" style="background: #ffd" | ㌅ || lang="ja" style="background: #ffd" | ㌆ || lang="ja" style="background: #ddb" | 円 || lang="ja" style="background: #ddd" | ㌇ || lang="ja" style="background: #ddd" | ㌈ || lang="ja" style="background: #ddd" | ㌉ || lang="ja" style="background: #ddd" | ㌊ || lang="ja" style="background: #ddd" | ㌋ || lang="ja" style="background: #ddd" | ㌌ || lang="ja" style="background: #ddd" | ㌍ || lang="ja" style="background: #ddd" | ㌎ || style="background: #ddd" | ← || style="background: #ddd" | ↑ || style="background: #ddd" | ↓ || style="background: #ddd" | → || style="background: #ddd" | ►
|-
! 012-
| lang="ja" style="background: #ddb" | & || 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || A || B || C || D || E
|-
! 013-
| F || G || H || I || J || K || L || M || N || O || P || Q || R || S || T || U
|-
! 014-
| V || W || X || Y || Z || a || b || c || d || e || f || g || h || i || j || k
|-
! 015-
| l || m || n || o || p || q || r || s || t || u || v || w || x || y || z || À
|-
! 016-
| Á || style="background: #ddd" | Â || style="background: #ddd" | Ã || Ä || style="background: #ddd" | Å || style="background: #ddd" | Æ || Ç || È || É || style="background: #ddd" | Ê || style="background: #ddd" | Ë || Ì || Í || style="background: #ddd" | Î || style="background: #ddd" | Ï || style="background: #ddd" | Ð
|-
! 017-
| Ñ || Ò || Ó || style="background: #ddd" | Ô || style="background: #ddd" | Õ || Ö || lang="ja" style="background: #ddd" | [ || style="background: #ddd" | Ø || Ù || Ú || style="background: #ddd" | Û || Ü || style="background: #ddd" | Ý || style="background: #ddd" | Þ || ß || à
|-
! 018-
| á || â || style="background: #ddd" | ã || ä || style="background: #ddd" | å || style="background: #ddd" | æ || ç || è || é || ê || ë || ì || í || î || ï || style="background: #ddd" | ð
|-
! 019-
| ñ || ò || ó || ô || style="background: #ddd" | õ || ö || lang="ja" style="background: #ddd" | ] || style="background: #ddd" | ø || ù || ú || û || ü || style="background: #ddd" | ý || style="background: #ddd" | þ || style="background: #ddd" | ÿ || style="background: #ddd" | Œ
|-
! 01A-
| style="background: #ddd" | œ || style="background: #ddd" | Ş || style="background: #ddd" | ş || style="background: #ddd" | ª || style="background: #ddd" | º || style="background: #ddd" | ¼ || style="background: #ddd" | ½ || style="background: #ddd" | ¾ || style="background: #ddd" | $ || ¡ || ¿ || ! || ? || , || . || lang="ja" | …
|-
! 01B-
| · || / || ‘ || ' || “ || ” || „ || « || » || ( || ) || lang="ja" | ♂ || lang="ja" | ♀ || + || - || *
|-
! 01C-
| # || = || style="background: #ddd" | & || ~ || : || ; || lang="ja" | � || lang="ja" | � || lang="ja" | � || lang="ja" | � || lang="ja" | ★ || lang="ja" | ◎ || lang="ja" | ○ || lang="ja" | □ || lang="ja" | △ || lang="ja" | ◇
|-
! 01D-
| @ || lang="ja" | ♪ || % || lang="ja" | � || lang="ja" | � || lang="ja" | � || lang="ja" | � || lang="ja" | ㌀ || lang="ja" | ㌁ || lang="ja" | ㌂ || lang="ja" | ㌃ || lang="ja" | ㌄ || lang="ja" | ㌅ || lang="ja" | ㌆ || {{tt|<span style{{=}}"white-space: pre; padding: 0; background-color: teal">&#x20;</span>|Space}} || style="background: #ddd" | ²
|-
! 01E-
| style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀
|-
! 01F-
| style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #bbb" | ␀ || style="background: #ddd" | ■ || style="background: #ddd" | ▼
|-
! 020-
| style="background: #ddd" | ▽ || colspan="15" style="background: #000" |
|}
 
The following values are transcoded to private use characters in Unicode:
 
{| class="wikitable" style="border-collapse: collapse; image-rendering: pixelated"
! colspan="2" | Proprietary encoding
! colspan="2" rowspan="2" | Unicode encoding
! colspan="2" rowspan="2" | Displayed character
|-
! Fullwidth
! Halfwidth
|-
| 0x00FA || 0x01C6
| U+E015 || <private-use-E015> || class="c" | [[File:Character 0xE015 iv Ranch.png|x20px|♠]] || Black spade suit
|-
| 0x00FB || 0x01C7
| U+E018 || <private-use-E018> || class="c" | [[File:Character 0xE018 iv Ranch.png|x20px|♣]] || Black club suit
|-
| 0x00FC || 0x01C8
| U+E017 || <private-use-E017> || class="c" | [[File:Character 0xE017 iv Ranch.png|x20px|♥]] || Black heart suit
|-
| 0x00FD || 0x01C9
| U+E016 || <private-use-E016> || class="c" | [[File:Character 0xE016 iv Ranch.png|x20px|♦]] || Black diamond suit
|-
| 0x0107 || 0x01D3
| U+E00C || <private-use-E00C> || class="c" | [[File:Character 0xE00C iv Ranch.png|x20px|☀]] || Black sun with rays
|-
| 0x0108 || 0x01D4
| U+E00D || <private-use-E00D> || class="c" | [[File:Character 0xE00D iv Ranch.png|x20px|☁]] || Cloud
|-
| 0x0109 || 0x01D5
| U+E00E || <private-use-E00E> || class="c" | [[File:Character 0xE00E iv Ranch.png|x20px|☂]] || Umbrella
|-
| 0x010A || 0x01D6
| U+E00F || <private-use-E00F> || class="c" | [[File:Character 0xE00F iv Ranch.png|x20px|☃]] || Snowman
|}
 
===Nonstandard characters===
The following characters are displayed in a nonstandard manner. Rows with a gray background are not mapped to a corresponding glyph in any font, so they are actually displayed as a fallback character.
 
{| class="wikitable expandable" style="border-collapse: collapse"
! Code
! colspan="2" | Unicode character
! colspan="3" | Displayed character
|-
| U+3300 || class="c" | ㌀ || SQUARE APAATO || class="c" colspan="2" | [[File:Character 0x3300 iv Ranch.png|x20px|&#x1f611;]] || Neutral face
|-
| U+3301 || class="c" | ㌁ || SQUARE ARUHUA || class="c" colspan="2" | [[File:Character 0x3301 iv Ranch.png|x20px|☺]] || Happy face
|-
| U+3302 || class="c" | ㌂ || SQUARE ANPEA || class="c" colspan="2" | [[File:Character 0x3302 iv Ranch.png|x20px|☹]] || Sad face
|-
| U+3303 || class="c" | ㌃ || SQUARE AARU || class="c" colspan="2" | [[File:Character 0x3303 iv Ranch.png|x20px|&#x1f620;]] || Angry face
|-
| U+3304 || class="c" | ㌄ || SQUARE ININGU || class="c" colspan="2" | [[File:Character 0x3304 iv Ranch.png|x20px|⤴︎]] || Arrow pointing rightwards then curving upwards
|-
| U+3305 || class="c" | ㌅ || SQUARE INTI || class="c" colspan="2" | [[File:Character 0x3305 iv Ranch.png|x20px|⤵︎]] || Arrow pointing rightwards then curving downwards
|-
| U+3306 || class="c" | ㌆ || SQUARE UON || class="c" | [[File:Character 0x3306 iv Ranch.png|x20px|&#x1f4a4;]] || class="c" | [[File:Character 0x3306 iv Ranch Rowdy.png|x20px|&#x1f4a4;]] || Sleeping symbol
|- style="background: #ddd"
| U+3307 || class="c" | ㌇ || SQUARE ESUKUUDO || class="c" colspan="2" | || {{cat|Items Pocket}} icon
|- style="background: #ddd"
| U+3308 || class="c" | ㌈ || SQUARE EEKAA || class="c" colspan="2" | || {{cat|Key items Pocket|Key Items Pocket}} icon
|- style="background: #ddd"
| U+3309 || class="c" | ㌉ || SQUARE ONSU || class="c" colspan="2" | || {{cat|TMs and HMs Pocket}} icon
|- style="background: #ddd"
| U+330A || class="c" | ㌊ || SQUARE OOMU || class="c" colspan="2" | || {{cat|Mail Pocket}} icon
|- style="background: #ddd"
| U+330B || class="c" | ㌋ || SQUARE KAIRI || class="c" colspan="2" | || {{cat|Medicine Pocket}} icon
|- style="background: #ddd"
| U+330C || class="c" | ㌌ || SQUARE KARATTO || class="c" colspan="2" | || {{cat|Berries Pocket}} icon
|- style="background: #ddd"
| U+330D || class="c" | ㌍ || SQUARE KARORII || class="c" colspan="2" | || {{cat|Poké Balls Pocket}} icon
|- style="background: #ddd"
| U+330E || class="c" | ㌎ || SQUARE GARON || class="c" colspan="2" | || {{cat|Battle Items Pocket}} icon
|-
| U+E077 || class="c" | || <private-use-E077> || class="c" | [[File:Character 0xE077 iv Ranch.png|x20px|r]] || class="c" | [[File:Character 0xE077 iv Ranch Rowdy.png|x20px|r]] || Superscript r
|}
 
===System characters===
The main fonts in My Pokémon Ranch include several characters from the [[Nintendo DS]] and [[Wii]] system fonts in the Private Use Area.
 
{| class="wikitable expandable" style="border-collapse: collapse; image-rendering: pixelated"
! Code
! Unicode character
! colspan="3" | Displayed character
|-
| U+E000 || <private-use-E000> || class="c" colspan="2" | [[File:Character 0xE000 iv Ranch.png|x20px|Ⓐ]] || Nintendo DS A Button
|-
| U+E001 || <private-use-E001> || class="c" colspan="2" | [[File:Character 0xE001 iv Ranch.png|x20px|Ⓑ]] || Nintendo DS B Button
|-
| U+E002 || <private-use-E002> || class="c" colspan="2" | [[File:Character 0xE002 iv Ranch.png|x20px|Ⓧ]] || Nintendo DS X Button
|-
| U+E003 || <private-use-E003> || class="c" colspan="2" | [[File:Character 0xE003 iv Ranch.png|x20px|Ⓨ]] || Nintendo DS Y Button
|-
| U+E004 || <private-use-E004> || class="c" colspan="2" | [[File:Character 0xE004 iv Ranch.png|x20px|Ⓛ]] || Nintendo DS L Button
|-
| U+E005 || <private-use-E005> || class="c" colspan="2" | [[File:Character 0xE005 iv Ranch.png|x20px|Ⓡ]] || Nintendo DS R Button
|-
| U+E006 || <private-use-E006> || class="c" colspan="2" | [[File:Character 0xE006 iv Ranch.png|x20px|✜]] || Nintendo DS Control Pad
|-
| U+E007 || <private-use-E007> || class="c" colspan="2" | [[File:Character 0xE007 iv Ranch.png|x20px|⏰]] || Nintendo DS alarm clock
|-
| U+E008 || <private-use-E008> || class="c" colspan="2" | [[File:Character 0xE008 iv Ranch.png|x20px|☺]] || Nintendo DS happy face
|-
| U+E009 || <private-use-E009> || class="c" colspan="2" | [[File:Character 0xE009 iv Ranch.png|x20px|&#x1f620;]] || Nintendo DS angry face
|-
| U+E00A || <private-use-E00A> || class="c" colspan="2" | [[File:Character 0xE00A iv Ranch.png|x20px|☹]] || Nintendo DS sad face
|-
| U+E00B || <private-use-E00B> || class="c" colspan="2" | [[File:Character 0xE00B iv Ranch.png|x20px|&#x1f611;]] || Nintendo DS neutral face
|-
| U+E00C || <private-use-E00C> || class="c" colspan="2" | [[File:Character 0xE00C iv Ranch.png|x20px|☀]] || Nintendo DS black sun with rays
|-
| U+E00D || <private-use-E00D> || class="c" colspan="2" | [[File:Character 0xE00D iv Ranch.png|x20px|☁]] || Nintendo DS cloud
|-
| U+E00E || <private-use-E00E> || class="c" colspan="2" | [[File:Character 0xE00E iv Ranch.png|x20px|☂]] || Nintendo DS umbrella
|-
| U+E00F || <private-use-E00F> || class="c" colspan="2" | [[File:Character 0xE00F iv Ranch.png|x20px|☃]] || Nintendo DS snowman
|-
| U+E010 || <private-use-E010> || class="c" colspan="2" | [[File:Character 0xE010 iv Ranch.png|x20px|!]] || Nintendo DS squared exclamation mark
|-
| U+E011 || <private-use-E011> || class="c" colspan="2" | [[File:Character 0xE011 iv Ranch.png|x20px|?]] || Nintendo DS squared question mark
|-
| U+E012 || <private-use-E012> || class="c" colspan="2" | [[File:Character 0xE012 iv Ranch.png|x20px|✉]] || Nintendo DS envelope
|-
| U+E013 || <private-use-E013> || class="c" colspan="2" | [[File:Character 0xE013 iv Ranch.png|x20px|&#x1f4f1;]] || Nintendo DS mobile phone
|-
| U+E014 || <private-use-E014> || class="c" colspan="2" | [[File:Character 0xE014 iv Ranch.png|x20px|⊞]] || Nintendo DS Touch Screen calibration mark
|-
| U+E015 || <private-use-E015> || class="c" colspan="2" | [[File:Character 0xE015 iv Ranch.png|x20px|♠]] || Nintendo DS black spade suit
|-
| U+E016 || <private-use-E016> || class="c" colspan="2" | [[File:Character 0xE016 iv Ranch.png|x20px|♦]] || Nintendo DS black diamond suit
|-
| U+E017 || <private-use-E017> || class="c" colspan="2" | [[File:Character 0xE017 iv Ranch.png|x20px|♥]] || Nintendo DS black heart suit
|-
| U+E018 || <private-use-E018> || class="c" colspan="2" | [[File:Character 0xE018 iv Ranch.png|x20px|♣]] || Nintendo DS black club suit
|-
| U+E019 || <private-use-E019> || class="c" colspan="2" | [[File:Character 0xE019 iv Ranch.png|x20px|→]] || Nintendo DS rightwards arrow
|-
| U+E01A || <private-use-E01A> || class="c" colspan="2" | [[File:Character 0xE01A iv Ranch.png|x20px|←]] || Nintendo DS leftwards arrow
|-
| U+E01B || <private-use-E01B> || class="c" colspan="2" | [[File:Character 0xE01B iv Ranch.png|x20px|↑]] || Nintendo DS upwards arrow
|-
| U+E01C || <private-use-E01C> || class="c" colspan="2" | [[File:Character 0xE01C iv Ranch.png|x20px|↓]] || Nintendo DS downwards arrow
|-
| U+E01D || <private-use-E01D> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E01E || <private-use-E01E> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E01F || <private-use-E01F> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E020 || <private-use-E020> || class="c" colspan="2" | [[File:Character 0xE020 iv Ranch.png|x20px|Loading icon]] || Nintendo DS loading icon frame 1
|-
| U+E021 || <private-use-E021> || class="c" colspan="2" | [[File:Character 0xE021 iv Ranch.png|x20px|Loading icon]] || Nintendo DS loading icon frame 2
|-
| U+E022 || <private-use-E022> || class="c" colspan="2" | [[File:Character 0xE022 iv Ranch.png|x20px|Loading icon]] || Nintendo DS loading icon frame 3
|-
| U+E023 || <private-use-E023> || class="c" colspan="2" | [[File:Character 0xE023 iv Ranch.png|x20px|Loading icon]] || Nintendo DS loading icon frame 4
|-
| U+E024 || <private-use-E024> || class="c" colspan="2" | [[File:Character 0xE024 iv Ranch.png|x20px|Loading icon]] || Nintendo DS loading icon frame 5
|-
| U+E025 || <private-use-E025> || class="c" colspan="2" | [[File:Character 0xE025 iv Ranch.png|x20px|Loading icon]] || Nintendo DS loading icon frame 6
|-
| U+E026 || <private-use-E026> || class="c" colspan="2" | [[File:Character 0xE026 iv Ranch.png|x20px|Loading icon]] || Nintendo DS loading icon frame 7
|-
| U+E027 || <private-use-E027> || class="c" colspan="2" | [[File:Character 0xE027 iv Ranch.png|x20px|Loading icon]] || Nintendo DS loading icon frame 8
|-
| U+E028 || <private-use-E028> || class="c" colspan="2" | [[File:Character 0xE028 iv Ranch.png|x20px|✕]] || Nintendo DS cross mark
|-
| U+E029 || <private-use-E029> || class="c" colspan="2" | [[File:Character 0xE029 iv Ranch.png|x20px|A]] || Nintendo DS Chat Room A icon
|-
| U+E02A || <private-use-E02A> || class="c" colspan="2" | [[File:Character 0xE02A iv Ranch.png|x20px|B]] || Nintendo DS Chat Room B icon
|-
| U+E02B || <private-use-E02B> || class="c" colspan="2" | [[File:Character 0xE02B iv Ranch.png|x20px|C]] || Nintendo DS Chat Room C icon
|-
| U+E02C || <private-use-E02C> || class="c" colspan="2" | [[File:Character 0xE02C iv Ranch.png|x20px|D]] || Nintendo DS Chat Room D icon
|-
| U+E02D || <private-use-E02D> || class="c" colspan="2" | [[File:Character 0xE02D iv Ranch.png|x20px|A]] || Nintendo DS Auto Mode icon
|-
| U+E02E || <private-use-E02E> || class="c" colspan="2" | [[File:Character 0xE02E iv Ranch.png|x20px|M]] || Nintendo DS Manual Mode icon
|-
| U+E02F || <private-use-E02F> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E030 || <private-use-E030> || class="c" colspan="2" | [[File:Character 0xE030 iv Ranch.png|x20px|P]] || Nintendo DS {{wp|PictoChat}} logo P
|-
| U+E031 || <private-use-E031> || class="c" colspan="2" | [[File:Character 0xE031 iv Ranch.png|x20px|I]] || Nintendo DS PictoChat logo I
|-
| U+E032 || <private-use-E032> || class="c" colspan="2" | [[File:Character 0xE032 iv Ranch.png|x20px|C]] || Nintendo DS PictoChat logo C
|-
| U+E033 || <private-use-E033> || class="c" colspan="2" | [[File:Character 0xE033 iv Ranch.png|x20px|T]] || Nintendo DS PictoChat logo T
|-
| U+E034 || <private-use-E034> || class="c" colspan="2" | [[File:Character 0xE034 iv Ranch.png|x20px|H]] || Nintendo DS PictoChat logo H
|-
| U+E035 || <private-use-E035> || class="c" colspan="2" | [[File:Character 0xE035 iv Ranch.png|x20px|A]] || Nintendo DS PictoChat logo A
|-
| U+E036 || <private-use-E036> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E037 || <private-use-E037> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E038 || <private-use-E038> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E039 || <private-use-E039> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E03A || <private-use-E03A> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E03B || <private-use-E03B> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E03C || <private-use-E03C> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E03D || <private-use-E03D> || class="c" colspan="2" | [[File:Character reserved DS iv Ranch.png|x20px|Reserved]] || Nintendo DS reserved character
|-
| U+E03E || <private-use-E03E> || class="c" colspan="2" | [[File:Character 0xE03E iv Ranch.png|x20px|Squared cross mark]] || Nintendo DS squared cross mark
|-
| U+E03F || <private-use-E03F> || class="c" colspan="2" | [[File:Character 0xE03F iv Ranch.png|x20px|Squared heavy cross mark]] || Nintendo DS squared heavy cross mark
|-
| U+E040 || <private-use-E040> || class="c" colspan="2" | [[File:Character 0xE040 iv Ranch.png|x20px|Power]] || Wii Power Button
|-
| U+E041 || <private-use-E041> || class="c" colspan="2" | [[File:Character 0xE041 iv Ranch.png|x20px|✜]] || Wii Control Pad
|-
| U+E042 || <private-use-E042> || class="c" colspan="2" | [[File:Character 0xE042 iv Ranch.png|x20px|A]] || Wii A Button
|-
| U+E043 || <private-use-E043> || class="c" colspan="2" | [[File:Character 0xE043 iv Ranch.png|x20px|B]] || Wii B Button
|-
| U+E044 || <private-use-E044> || class="c" colspan="2" | [[File:Character 0xE044 iv Ranch.png|x20px|&#x1f3e0;]] || Wii HOME Button
|-
| U+E045 || <private-use-E045> || class="c" colspan="2" | [[File:Character 0xE045 iv Ranch.png|x20px|+]] || Wii + Button
|-
| U+E046 || <private-use-E046> || class="c" colspan="2" | [[File:Character 0xE046 iv Ranch.png|x20px|-]] || Wii - Button
|-
| U+E047 || <private-use-E047> || class="c" colspan="2" | [[File:Character 0xE047 iv Ranch.png|x20px|1]] || Wii 1 Button
|-
| U+E048 || <private-use-E048> || class="c" colspan="2" | [[File:Character 0xE048 iv Ranch.png|x20px|2]] || Wii 2 Button
|-
| U+E049 || <private-use-E049> || class="c" colspan="2" | [[File:Character 0xE049 iv Ranch.png|x20px|Control Stick]] || Wii Nunchuk Control Stick
|-
| U+E04A || <private-use-E04A> || class="c" colspan="2" | [[File:Character 0xE04A iv Ranch.png|x20px|C]] || Wii Nunchuk C Button
|-
| U+E04B || <private-use-E04B> || class="c" colspan="2" | [[File:Character 0xE04B iv Ranch.png|x20px|Z]] || Wii Nunchuk Z Button
|-
| U+E04C || <private-use-E04C> || class="c" colspan="2" | [[File:Character 0xE04C iv Ranch.png|x20px|a]] || Wii Classic Controller a Button
|-
| U+E04D || <private-use-E04D> || class="c" colspan="2" | [[File:Character 0xE04D iv Ranch.png|x20px|b]] || Wii Classic Controller b Button
|-
| U+E04E || <private-use-E04E> || class="c" colspan="2" | [[File:Character 0xE04E iv Ranch.png|x20px|x]] || Wii Classic Controller x Button
|-
| U+E04F || <private-use-E04F> || class="c" colspan="2" | [[File:Character 0xE04F iv Ranch.png|x20px|y]] || Wii Classic Controller y Button
|-
| U+E050 || <private-use-E050> || class="c" colspan="2" | [[File:Character 0xE050 iv Ranch.png|x20px|Left Control Stick]] || Wii Classic Controller Left Control Stick
|-
| U+E051 || <private-use-E051> || class="c" colspan="2" | [[File:Character 0xE051 iv Ranch.png|x20px|Right Control Stick]] || Wii Classic Controller Right Control Stick
|-
| U+E052 || <private-use-E052> || class="c" colspan="2" | [[File:Character 0xE052 iv Ranch.png|x20px|L]] || Wii Classic Controller L Button
|-
| U+E053 || <private-use-E053> || class="c" colspan="2" | [[File:Character 0xE053 iv Ranch.png|x20px|R]] || Wii Classic Controller R Button
|-
| U+E054 || <private-use-E054> || class="c" colspan="2" | [[File:Character 0xE054 iv Ranch.png|x20px|ZL]] || Wii Classic Controller ZL Button
|-
| U+E055 || <private-use-E055> || class="c" colspan="2" | [[File:Character 0xE055 iv Ranch.png|x20px|ZR]] || Wii Classic Controller ZR Button
|-
| U+E056 || <private-use-E056> || class="c" colspan="2" | [[File:Character 0xE056 iv Ranch.png|x20px|⏎]] || Return symbol
|-
| U+E057 || <private-use-E057> || class="c" colspan="2" | [[File:Character 0xE057 iv Ranch.png|x20px|␣]] || Space symbol
|-
| U+E058 || <private-use-E058> || class="c" colspan="2" | [[File:Character 0xE058 iv Ranch.png|x20px|Player pointer]] || Wii player pointer
|-
| U+E059 || <private-use-E059> || class="c" colspan="2" | [[File:Character 0xE059 iv Ranch.png|x20px|Player 1 pointer]] || Wii player 1 pointer
|-
| U+E05A || <private-use-E05A> || class="c" colspan="2" | [[File:Character 0xE05A iv Ranch.png|x20px|Player 2 pointer]] || Wii player 2 pointer
|-
| U+E05B || <private-use-E05B> || class="c" colspan="2" | [[File:Character 0xE05B iv Ranch.png|x20px|Player 3 pointer]] || Wii player 3 pointer
|-
| U+E05C || <private-use-E05C> || class="c" colspan="2" | [[File:Character 0xE05C iv Ranch.png|x20px|Player 4 pointer]] || Wii player 4 pointer
|-
| U+E05D || <private-use-E05D> || class="c" colspan="2" | [[File:Character 0xE05D iv Ranch.png|x20px|Player pointer grabbing]] || Wii player pointer grabbing
|-
| U+E05E || <private-use-E05E> || class="c" colspan="2" | [[File:Character 0xE05E iv Ranch.png|x20px|Player 1 pointer grabbing]] || Wii player 1 pointer grabbing
|-
| U+E05F || <private-use-E05F> || class="c" colspan="2" | [[File:Character 0xE05F iv Ranch.png|x20px|Player 2 pointer grabbing]] || Wii player 2 pointer grabbing
|-
| U+E060 || <private-use-E060> || class="c" colspan="2" | [[File:Character 0xE060 iv Ranch.png|x20px|Player 3 pointer grabbing]] || Wii player 3 pointer grabbing
|-
| U+E061 || <private-use-E061> || class="c" colspan="2" | [[File:Character 0xE061 iv Ranch.png|x20px|Player 4 pointer grabbing]] || Wii player 4 pointer grabbing
|-
| U+E062 || <private-use-E062> || class="c" colspan="2" | [[File:Character 0xE062 iv Ranch.png|x20px|Player pointer panning]] || Wii player pointer panning
|-
| U+E063 || <private-use-E063> || class="c" colspan="2" | [[File:Character 0xE063 iv Ranch.png|x20px|Player 1 pointer panning]] || Wii player 1 pointer panning
|-
| U+E064 || <private-use-E064> || class="c" colspan="2" | [[File:Character 0xE064 iv Ranch.png|x20px|Player 2 pointer panning]] || Wii player 2 pointer panning
|-
| U+E065 || <private-use-E065> || class="c" colspan="2" | [[File:Character 0xE065 iv Ranch.png|x20px|Player 3 pointer panning]] || Wii player 3 pointer panning
|-
| U+E066 || <private-use-E066> || class="c" colspan="2" | [[File:Character 0xE066 iv Ranch.png|x20px|Player 4 pointer panning]] || Wii player 4 pointer panning
|-
| U+E067 || <private-use-E067> || class="c" colspan="2" | [[File:Character 0xE067 iv Ranch.png|x20px|Wii]] || Wii logo
|-
| U+E068 || <private-use-E068> || class="c" | [[File:Character 0xE068 iv Ranch.png|x20px|er]] || class="c" | [[File:Character 0xE068 iv Ranch Rowdy.png|x20px|er]] || Superscript er
|-
| U+E069 || <private-use-E069> || class="c" | [[File:Character 0xE069 iv Ranch.png|x20px|re]] || class="c" | [[File:Character 0xE069 iv Ranch Rowdy.png|x20px|re]] || Superscript re
|-
| U+E06A || <private-use-E06A> || class="c" | [[File:Character 0xE06A iv Ranch.png|x20px|e]] || class="c" | [[File:Character 0xE06A iv Ranch Rowdy.png|x20px|e]] || Superscript e
|-
| U+E06B || <private-use-E06B> || class="c" colspan="2" | [[File:Character 0xE06B iv Ranch.png|x20px|?]] || Wii squared question mark
|}
 
===Control characters===
My Pokémon Ranch generally uses {{wp|printf}} format strings to insert strings or numbers into the displayed text. Some strings instead use a number with dollar signs on both sides (such as <code>$0$</code>) as a placeholder for variables. <code>%quot;</code> is occasionally used as an escape sequence for the quotation mark, though it is not generally required to be escaped.
 
* U+000A is used as a line break.
* U+000C is a prompt for the player to press a button to continue the dialogue, clearing the dialogue box entirely before printing the next line.
 
{{data structure}}<br>
{{Project Games notice|data structure}}

Revision as of 17:28, 16 September 2024

018Pidgeot.png It has been suggested that this article be moved to Character encoding (Battle Revolution).
Please discuss whether or not to move it on its talk page.

Main article: Character encoding (Generation IV)

This is the character encoding used in the Generation IV side series games for the Wii.

Pokémon Battle Revolution

Pokémon Battle Revolution uses UTF-16 in big endian to store its text data. Nicknames and Original Trainer names of Pokémon from the handheld games is stored in the game's save file in the proprietary encoding used in those games (in big endian), and transcoded to their Unicode equivalent for display.

Character set

Pokémon Battle Revolution splits its font across multiple files, with fonts containing certain characters such as certain kanji and symbols only being loaded in menus and areas where they are needed. A filled square (⬛︎) is used as a fallback character for characters not included in a given font. Most of the codepoints used for nonstandard characters from Pokémon Colosseum and XD are still included, but are no longer used for their nonstandard purpose. The following Unicode characters are supported in at least one font:

The following characters are only included in certain versions of the game:

  • Japanese region: , all kanji
  • American and PAL region only: ², , , ,
  • American region only: , , ,
  • PAL region only: Ø, ã, å, ø

Transcoding

An association list is used to map characters from the proprietary encoding to their UTF-16 and Shift JIS equivalents.

  • Both 0x0000 and 0xFFFF are mapped to the end-of-string terminator.
  • Any value with a black background below or from 0x0201 onward is transcoded as a fullwidth space.

The following tables describe the Unicode code points that correspond to each value in the proprietary encoding. All of the Shift JIS codepoints are equivalent to the corresponding Unicode code point, except for fullwidth and halfwidth characters not in JIS X 0208, which are mapped to and *, respectively.

-0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -A -B -C -D -E -F
000-  
001-
002-
003-
004-
005-
006-
007-
008-
009-
00A-
00B-
00C-
00D-
00E-
00F- × ÷
010-
011-
012- 0 1 2 3 4 5 6 7 8 9 A B C D E
013- F G H I J K L M N O P Q R S T U
014- V W X Y Z a b c d e f g h i j k
015- l m n o p q r s t u v w x y z À
016- Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð
017- Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à
018- á â ã ä å æ ç è é ê ë ì í î ï ð
019- ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ Œ
01A- œ Ş ş ª º ¼ ½ ¾ $ ¡ ¿ ! ? , .
01B- / ' « » ( ) + - *
01C- # = & ~ : ;
01D- @ % ²
01E-
01F-
020-

Nonstandard characters

The following characters are displayed in a nonstandard manner. Rows ending with JP, NA, or EU apply only to the Japanese, North American, or European version of the game, respectively. Rows with a gray background are not mapped to a corresponding glyph in any font, so they are actually displayed as a fallback character. Note that the fullwidth forms used in Japanese games for 20 of the characters below (, , , , , , , , , , , , , , , , ×, ÷, , ) are mapped to the standard Unicode codepoints of these characters.

Control characters

050Diglett.png This section is incomplete.
Please feel free to edit this section to add missing information and complete it.
Reason: Full list of variables/functions
  • 0xFFFE is an escape character for functions and variables. It is followed by a 16-bit integer indicating the index of the function to call.
    • 0x0001 marks kanji with furigana. It is followed by two bytes, with the first indicating the number of characters in the ruby text, and the second indicating the number of characters in the base text. It is then followed by the ruby text and base text itself.
    • 0x0002 marks a pause for a period of time. It is followed by a two-byte value, with the first indicating the number of frames to wait.
    • 0x0003 changes the text alignment. It is followed by a two-byte value, with 1 being left-aligned, 2 being center-aligned, and 3 being right-aligned.
    • 0x0003 changes the text color. It is followed by a two-byte value, with 1 being red, 2 being blue, and 3 being yellow, 4 being green, and 5 being the default.
    • 0x000D is a prompt for the player to press a button to continue the dialogue, clearing the dialogue box entirely before printing the next line.
    • 0x0050 prints the player's name.
    • 0x8011 shifts the Y coordinate of the cursor.
    • 0xF000 displays text using a larger font.
    • 0xF001 displays text using a normal font.
    • 0xF002 displays text using a smaller font.
    • 0xF006 displays text using a font with an outline.
    • 0xF100 displays text using no additional spacing between characters in Japanese games.
    • 0xF101 displays text with 1 pixel of additional spacing between characters.
    • 0xF101 displays text with 2 pixels of additional spacing between characters.
    • 0xF101 displays text with 3 pixels of additional spacing between characters.
    • 0xFFF9 displays PP in the appropriate language.
    • 0xFFFA displays HP in the appropriate language.
    • 0xFFFB displays Lv. in the appropriate language.
    • 0xFFFC displays No. in the appropriate language.
    • 0xFFFE is a line break.
    • 0xFFFF is a terminator, marking the ends of strings.

My Pokémon Ranch

My Pokémon Ranch uses UTF-16 in big endian to store its text data. Nicknames and Original Trainer names of Pokémon from the handheld games are stored in the game's save file in the proprietary encoding used in those games (in little endian), and transcoded to its Unicode equivalent for display.

Character set

My Pokémon Ranch uses two main fonts: Pop Happiness is used for most text, while Rowdy is used for titles and button labels. The in-game clock originally used the font Seurat, but was replaced with Slump in the Japan-exclusive Platinum update. A halfwidth question mark (?) is used as a fallback character for characters not included in a given font. The following Unicode characters are supported in at least one of the two fonts:

Transcoding

A lookup table is used to map characters from the proprietary encoding to their UTF-16 equivalent.

  • Both 0x0000 and 0xFFFF are mapped to the end-of-string terminator.
  • Cells containing indicate the value is mapped to U+0000 (the null character). This is displayed as a halfwidth question mark.
  • Cells containing indicate the value is mapped to a private use character, which are detailed in a separate table below.
  • Any value from 0x0201 onward is transcoded as a fullwidth question mark.

The following table describes the code points that correspond to each value in the proprietary encoding. Note that for symbols with no halfwidth and fullwidth distinction in Unicode, both values are mapped to the same character.

-0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -A -B -C -D -E -F
000-  
001-
002-
003-
004-
005-
006-
007-
008-
009-
00A-
00B-
00C-
00D-
00E-
00F- × ÷
010-
011-
012- 0 1 2 3 4 5 6 7 8 9 A B C D E
013- F G H I J K L M N O P Q R S T U
014- V W X Y Z a b c d e f g h i j k
015- l m n o p q r s t u v w x y z À
016- Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð
017- Ñ Ò Ó Ô Õ Ö [ Ø Ù Ú Û Ü Ý Þ ß à
018- á â ã ä å æ ç è é ê ë ì í î ï ð
019- ñ ò ó ô õ ö ] ø ù ú û ü ý þ ÿ Œ
01A- œ Ş ş ª º ¼ ½ ¾ $ ¡ ¿ ! ? , .
01B- · / ' « » ( ) + - *
01C- # = & ~ : ;
01D- @ % ²
01E-
01F-
020-

The following values are transcoded to private use characters in Unicode:

Proprietary encoding Unicode encoding Displayed character
Fullwidth Halfwidth
0x00FA 0x01C6 U+E015 <private-use-E015> ♠ Black spade suit
0x00FB 0x01C7 U+E018 <private-use-E018> ♣ Black club suit
0x00FC 0x01C8 U+E017 <private-use-E017> ♥ Black heart suit
0x00FD 0x01C9 U+E016 <private-use-E016> ♦ Black diamond suit
0x0107 0x01D3 U+E00C <private-use-E00C> ☀ Black sun with rays
0x0108 0x01D4 U+E00D <private-use-E00D> ☁ Cloud
0x0109 0x01D5 U+E00E <private-use-E00E> ☂ Umbrella
0x010A 0x01D6 U+E00F <private-use-E00F> ☃ Snowman

Nonstandard characters

The following characters are displayed in a nonstandard manner. Rows with a gray background are not mapped to a corresponding glyph in any font, so they are actually displayed as a fallback character.

System characters

The main fonts in My Pokémon Ranch include several characters from the Nintendo DS and Wii system fonts in the Private Use Area.

Control characters

My Pokémon Ranch generally uses printf format strings to insert strings or numbers into the displayed text. Some strings instead use a number with dollar signs on both sides (such as $0$) as a placeholder for variables. %quot; is occasionally used as an escape sequence for the quotation mark, though it is not generally required to be escaped.

  • U+000A is used as a line break.
  • U+000C is a prompt for the player to press a button to continue the dialogue, clearing the dialogue box entirely before printing the next line.


Data structure in the Pokémon games
General Character encoding
Generation I Pokémon speciesPokémonPoké MartCharacter encodingSave
Generation II Pokémon speciesPokémonTrainerCharacter encoding (Korean) • Save
Generation III Pokémon species (EvolutionPokédexType chart)
Pokémon (substructures) • MoveContestContest moveItem
Trainer TowerBattle FrontierCharacter encoding (GameCube) • Save
Generation IV Pokémon species (EvolutionLearnsets)
PokémonSaveCharacter encoding (Wii)
Generation V–present Character encoding
Generation VIII Save
TCG GB and GB2 Character encoding


Project Games logo.png This data structure article is part of Project Games, a Bulbapedia project that aims to write comprehensive articles on the Pokémon games.