pret / pokeemerald

Decompilation of Pokémon Emerald

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsonproc improperly handles certain characters

GriffinRichards opened this issue · comments

cleanString has special handling for é:

string badChars = ".'{} \n\t-\u00e9";

but will fail to process some other reasonable characters. See huderlem/porymap#557 for an example.

I would like to add that, if it's possible, the right substitution should be the character without the variation, for instance: á for a.