
JSON.encode can’t correctly output UTF-8.
I will use https://steamcommunity.com/sharedfiles/filedetails/?id=1124124634 as an example. After saving this list many Russian UPPERCASE characters become ?.
/execute print(JSON.encode("АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ"))Here is my workaround of function updateSave(). Its saving values before encoding and after encoding replacing with them temporal setted values.

+

+

+

+

+

+

+

+

+

+

+

+


