**REPORTED** Character/Worlds with special letters in their name won't stay favorited

Meigumin

Official Terrarian
Steam or GOG
Steam
Single Player/Multiplayer
Single
Operating System
Windows 10
Terraria Version
1.4.0.5
Controls Used
Keyboard/Mouse
Hello, I just found out that characters or worlds with a special letter in their name (such as é, è, ô etc...) won't stay favorited after the game closes.

In the favorites.json file that can be found in the Terraria folder, these special characters are replaced by «?», which i think is the cause that doesn't keep the favorite status (maybe).

Thank you for coming to my TED talk.
 
this looks a lot like a simple Mismatch between ASCII/UniCode strlen function / string compare problem.. maybe using the length of the data in the config file instead of the length of the string once it's been imported. or maybe they're using the length of the buffer holding the data instead of strlen... maybe file is treated as text instead of binary stream.

good catch.
 
Back
Top Bottom