Open kwsch opened 1 year ago
Looks like originally, this was done to preserve Flabébé's id being 'flabebe': https://github.com/smogon/pokemon-showdown/commit/26f5b6ba56d695caf46ca84bc48be4bee00eaa2a
I think it's a good idea to fix this for the reasons Kaphotics mentioned, but also think ID preservation is valuable. We can explore options that fulfill both needs.
Exporting a paste of a Flabébé incorrectly exports text for the Species Name, which will cause issues with other applications that parse outputs from Showdown.
Showdown is exporting![image](https://github.com/smogon/pokemon-showdown/assets/6393368/abaa8b84-d713-44e6-8e72-b13b47454e77)
é
ase◌́
, as shown in the Unicode byte representation below.For reference, the official name strings do not use combined diacritics, they use u16:
0x00E9=é
.Downstream consumers like pokepast.es do not recognize Showdown's current export format, because they do not expect the need to normalize any strings: https://pokepast.es/666f800df6848fb4![image](https://github.com/smogon/pokemon-showdown/assets/6393368/6416842e-22b3-4aef-a7f2-23a7be16eb06)