nineteendo / pyvz2

PyVZ2 is a command line utility to modify PvZ2
GNU General Public License v3.0
44 stars 6 forks source link

Rton to JSON can fail for unicode. #20

Open Haruma-VN opened 1 year ago

Haruma-VN commented 1 year ago

Hi, here is the rton https://drive.google.com/file/d/15mdyEVIVi49_cuEXfYAC7VbMNcKRgvpd/view?usp=sharing

nineteendo commented 1 year ago

https://drive.google.com/uc?id=15mdyEVIVi49_cuEXfYAC7VbMNcKRgvpd

nineteendo commented 1 year ago

Here's the error log: fail.txt It's caused by the convertor using the byte size of utf-8 text instead of the character length. In order to fix it whilst keeping the tool fast, I need to write a C library.