Closed ShellyHerself closed 4 years ago
When some characters are in player names the text will move back to the beginning of the line, causing text to be overlapped.
I assume this has something to do with the converting of the text from utf-16 to utf-8 having some overlap for special characters.
I'm thinking the easiest solution would be to set a range for allowed characters and prune everything outside of that.
I fixed the issue in https://github.com/Kavawuvi/chimera/commit/6ef0f68a05e1bb78e8ade443f102ca1f2fedec45. I think at least. It was due to a sign vs unsigned comparison.
When some characters are in player names the text will move back to the beginning of the line, causing text to be overlapped.
I assume this has something to do with the converting of the text from utf-16 to utf-8 having some overlap for special characters.
I'm thinking the easiest solution would be to set a range for allowed characters and prune everything outside of that.