zmilla93 / SlimTrade

A trade UI overlay for Path of Exile
MIT License
122 stars 13 forks source link

Character name not saved correctly #38

Closed tls-kn closed 2 years ago

tls-kn commented 3 years ago

My character name is "TLSㆍUltㆍWander". When I paste this into the corresponding field, everything is working fine. However, after restarting SlimTrade, the name is replaced by "TLS?Ult?Wander", and things like kicking myself from the group after a trade doesn't work anymore.

zmilla93 commented 3 years ago

Looks to be some sort of encoding issue. While I'm not exactly sure why this is happening, I'm able to reproduce it myself so I'll be able to look for a solution.

zmilla93 commented 2 years ago

Sorry for the long wait, but this issue is now fully resolved in v0.3.4.

Characters not saving correctly was due to the save/load system not forcing UTF-8. My test environment already forced UTF-8, so I didn't noticed this was an issue for a while.

Characters appearing as boxes was due to the default Java font not supporting certain languages. I've added two new international fonts and made UI elements switch their font when they detect characters in these languages.

tls-kn commented 2 years ago

Awesome, just in time for Scourge! Thank you so much!