Page 2 of 2

Re: Incorrectly displayed Russian-language characters in the skin.

Posted: January 26th, 2020, 8:29 pm
by LizardRee
I understood what the problem was!
It was necessary to transcode not only the ini, but also the txt file! And it all worked! Thanks you!!! :rolmfao:
Image

Re: Incorrectly displayed Russian-language characters in the skin.

Posted: January 26th, 2020, 8:40 pm
by Jeff
LizardRee wrote: January 26th, 2020, 8:29 pm It was necessary to transcode not only the ini, but also the txt file!
Yup, they kinda need to be the same encoding to work together flawlessly. UTF-16's unicode character range has cyrillic characters in it, as compared to UTF-8.
There are some work arounds if you can't change the encoding like using the CodePage option and all that, just be happy the skin doesn't use LUA (laughs in Python).

Re: Incorrectly displayed Russian-language characters in the skin.

Posted: January 27th, 2020, 3:03 am
by jsmorley
Jeff wrote: January 26th, 2020, 8:40 pm Yup, they kinda need to be the same encoding to work together flawlessly. UTF-16's unicode character range has cyrillic characters in it, as compared to UTF-8.
There are some work arounds if you can't change the encoding like using the CodePage option and all that, just be happy the skin doesn't use LUA (laughs in Python).
Lua has challenges with Unicode, but not impossible by any means. Skin as UTF-16, .Lua file as UTF-16, any external file you read or write WITH the Lua as UTF-8.