X2CommunityCore / xcom2-launcher

The Alternative Mod Launcher (AML) is a replacement for the default game launchers from XCOM 2 and XCOM Chimera Squad.
GNU General Public License v3.0
348 stars 51 forks source link

Wrong encoding of Cyrillic title and description when loaded from Workshop #215

Closed EricKotato closed 3 years ago

EricKotato commented 4 years ago

When mod title and description is loaded from Steam Workshop, it has wrong character encoding:

I think it converts UTF-8 text to Windows-1251 encoding (since I have Russian language by default in Windows).

Affected versions: 1.3.2, 1.4.0-beta.3 How to reproduce: download any mod with Cyrillic description. If mod description won't load automatically, use "Update" context menu option. Mod from screenshot (for easier testing): https://steamcommunity.com/sharedfiles/filedetails/?id=971469239

RevZero commented 4 years ago

From what I can tell, there is currently not much I can do about it, because this is caused by an issue in the Steamwork.NET API.
So we have to wait until they release a new API version that contains a respective fix.

EricKotato commented 3 years ago

Seems that issue is fixed in Steamworks.NET API, since pull is merged and live in 15.0.0 release.

RevZero commented 3 years ago

Ah, thanks for the info. I will update Steamworks.NET to the latest version with the next release then.