Jump to content

bug Special character gets messed up when importing G5 .pkm files


Recommended Posts

When you import a G5 .pkm file with an OT (not tested for nicknames) that includes a "♀" to PKHeX, it shows up as "⑮", which is an illegal character in the games. I tried the same for the male symbol (Pokegen: \246E), shows up as "⑭", so probably some unicode sets are messed up.

PKHeX works fine with pkm files where the name was created in Pokegen by pasting the "♀", as it seems to read this differently than the unicode (\246E) it shows for game-created names.

While I'm at it: The "About" window has a little spelling mistake, "Inspiried by Codr's Pokegen".

Edited by Localhorst
Link to comment
Share on other sites

Thanks, fixed in the latest 2 commits.

(note, the string setters in the pk6 object will remap the gender symbols to their 0xE080 counterpart)

According to our wiki, there are multiple re-maps for Unicode. What bothers me is that there's also game-exclusive characters, which I believe have been re-mapped to >0xE080.

These special characters would need to be documented so that the transfer process is faithfully recreated :)

Edit: Remapped them manually, still dunno about those game-exclusive characters.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...