Originally Posted by Weolo
I will keep the unicode replacement in mind for future things but for this problem I will keep it simple and go with the substring to rip off the last 3 characters
Lua Code:
GetString(SI_SMITHING_RESEARCH_IN_PROGRESS):sub(1,-4) .. ": "
|
That's going to bite you sooner or later. Cutting UTF-8 strings at arbitrary byte positions is never a good idea