Subj : DDLightbarMenu: Improve displaying of items that contain UTF8 (for ter To : GitLab note in main/sbbs From : Eric Oulashin Date : Sun Sep 07 2025 14:01:52 https://gitlab.synchro.net/main/sbbs/-/merge_requests/569#note_7584 I've updated with the change you made for con_out.cpp. That helps, as things look good with that. After that though, I got another spam email and I see another case where console.strlen() is reporting more characters than what are displayed, with the string "ииииE ". ``` var str = "ииииE "; //console.print(str, P_AUTO_UTF8); console.print(":" + str + ":", P_AUTO_UTF8); console.crlf(); console.print("Str length: " + console.strlen(str, P_AUTO_UTF8) + "\r\n"); console.pause(); ``` In a non-UTF8 terminal, the string gets printed as "ииииииииE", which is 9 characters, but console.strlen(str, P_AUTO_UTF8) returns 10. When displayed, there is a gap of 1 space in the background color: ![UTF8_console_strlen10_actually_9.png](/uploads/d84e38473174b4f14d2fb9131b08a04d/UTF8_console_strlen10_actually_9.png) --- ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net .