View Issue Details

IDProjectCategoryView StatusLast Update
0000019Medieval EngineersBugpublic2022-04-11 18:06
Reportergwindalmir Assigned Togwindalmir  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindowsOS10 1903OS Version10.0.18362
Product Version0.7.2 
Target Version0.7.3.33D4BBFixed in Version0.7.3.33D4BB 
Summary0000019: Workshop items with unicode characters in title or description show garbage in-game
Description

If you browse the workshop for mods or blueprints and select one that has unicode characters, there's a lot of text garbage displayed to the user.

This happens because of a bug in Steamworks.NET. The Steam API sends back workshop title and description in UTF-8, however Steamworks doesn't marshal this correctly, and it's interpreted as ANSI. This causes the .NET string object to contain UTF-8 code points interepreted as bytes. These bytes are what are shown as latin1 characters.

Steps To Reproduce

Subscribe or favorite one or more of these blueprints or mods:
https://steamcommunity.com/sharedfiles/filedetails/?id=2071597918
https://steamcommunity.com/sharedfiles/filedetails/?id=1714426318
https://steamcommunity.com/sharedfiles/filedetails/?id=1917252152

Either go into the mod browser before loading a world, or load the world and access the blueprint screen.
Select either favorited, or subscribed, as appropriate.

Additional Information

This is being tracked on Steamworks.NET: https://github.com/rlabrecque/Steamworks.NET/pull/347

TagsWorkshop

Activities

gwindalmir

2020-04-30 12:25

administrator   #~0000005

screenshot_20200430_113625.jpg (612,508 bytes)   
screenshot_20200430_113625.jpg (612,508 bytes)   

gwindalmir

2020-04-30 12:25

administrator   #~0000006

screenshot_20200430_113632.jpg (602,830 bytes)   
screenshot_20200430_113632.jpg (602,830 bytes)   

gwindalmir

2020-04-30 12:26

administrator   #~0000007

screenshot_20200430_114318.jpg (614,872 bytes)   
screenshot_20200430_114318.jpg (614,872 bytes)   

gwindalmir

2020-04-30 12:26

administrator   #~0000008

screenshot_20200430_114509.jpg (595,944 bytes)   
screenshot_20200430_114509.jpg (595,944 bytes)   

Issue History

Date Modified Username Field Change
2020-04-30 12:24 gwindalmir New Issue
2020-04-30 12:24 gwindalmir Tag Attached: Workshop
2020-04-30 12:25 gwindalmir Note Added: 0000005
2020-04-30 12:25 gwindalmir File Added: screenshot_20200430_113625.jpg
2020-04-30 12:25 gwindalmir Note Added: 0000006
2020-04-30 12:25 gwindalmir File Added: screenshot_20200430_113632.jpg
2020-04-30 12:26 gwindalmir Note Added: 0000007
2020-04-30 12:26 gwindalmir File Added: screenshot_20200430_114318.jpg
2020-04-30 12:26 gwindalmir Note Added: 0000008
2020-04-30 12:26 gwindalmir File Added: screenshot_20200430_114509.jpg
2020-04-30 16:55 gwindalmir Assigned To => gwindalmir
2020-04-30 16:55 gwindalmir Status new => assigned
2020-04-30 16:56 gwindalmir Status assigned => resolved
2020-04-30 16:56 gwindalmir Resolution open => fixed
2020-04-30 16:56 gwindalmir Fixed in Version => 0.7.3.33D4BB
2020-04-30 16:56 gwindalmir Target Version => 0.7.3.33D4BB
2020-06-04 00:59 gwindalmir Status resolved => closed
2020-06-07 21:58 gwindalmir Status closed => resolved
2022-04-11 18:06 equinox Severity @30@ => minor