PVZ2tools icon indicating copy to clipboard operation
PVZ2tools copied to clipboard

Rton to JSON can fail for unicode.

Open Haruma-VN opened this issue 2 years ago • 2 comments

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

Haruma-VN avatar Dec 08 '22 15:12 Haruma-VN

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

nineteendo avatar Dec 08 '22 15:12 nineteendo

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.

nineteendo avatar Dec 08 '22 15:12 nineteendo