It is currently March 28th, 2024, 1:16 pm

Incorrectly displayed Russian-language characters in the skin.

Get help with creating, editing & fixing problems with skins
User avatar
LizardRee
Posts: 4
Joined: January 26th, 2020, 3:42 pm

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

Post 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
User avatar
Jeff
Posts: 326
Joined: September 3rd, 2018, 11:18 am

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

Post 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).
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

Post 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.
Post Reply