Follow-up Comment #18, bug #55138 (project screen): Part of the problem seems to be that FromUtf8() interprets UTF8 bytes incorrectly due to a signedness issue. For example: ¢ (U+A2) This 2-byte UTF8 character gets interpreted as ffffffc2 ffffffa2 instead of c2 a2
A dirty hack to demonstrate this would be: -static int strlen_onscreen(char *c, char *end) +static int strlen_onscreen(unsigned char *c, unsigned char *end) _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55138> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/