Skip to content

Big5 kana are mapped to PUA (glyph not found error) #1329

@timdream

Description

@timdream

Name of the game:

An old private game between friends for holiday greeting (Sorry for not being able to release it w/o permission)

Player platform:

Web

Describe the issue in detail and how to reproduce it:

I was super excited to revive the old game from my backups with EasyRPG! The game runs without a problem, except for the fact that two characters in the dialog were rendered as . The console shows

Debug: glyph not found: 0xf70b
Debug: glyph not found: 0xf749

Judging by the context I guess the characters should be either くん or さん. Given that U+F70B and U+F749 both lies in PUA area, I am pretty sure the bug is caused by the fact that the game was developed on a patched Windows XP with kanas mapped to PUA.

(Context: back in the days, Windows with codepage set to CP950 cannot encode Japanese kanas unless the user patches it with Big5-UAO or Sakura IME. Big5-UAO replaces the CP950 mapping table to map the kanas to PUA area, and Sakura IME installs custom glyphs in the PUA area; both enables non-Unicode applications, RPG Maker 2003 in this case, to render kanas.)

The way to fix this would be to ask EasyRPG not to decode Big5 bytes with CP950, but with a patched Big5-UAO mapping. I, however, couldn't find the decoding table in the repo. Maybe EasyRPG relies on the platform to do the decoding?

Let me know where the decoding table is and I can help patching it. I am pretty sure we could fix this with the mapping table here.

I understand this is not a standard setup at all even at the time, so I am fine if we want to WONTFIX this. Thanks for your consideration!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions