When calculating the width of a string, the width is calculated byte by byte, which can cause line breaks in the middle of characters.
https://github.com/window-maker/wmaker/blob/master/WINGs/wmisc.c#L125
This part needs to loop through one character at a time, but the current source code is looping through one byte at a time.
`
`