>Please review, any comments are welcome. This looks wrong:
if (String.width(msg) > 8) msg = string_to_utf8(msg); You are always utf8-decoding the string, so you should always utf8-encode them.
Martin Nilsson (Coppermist) @ Pike (-) developers forum Tue, 22 Nov 2016 13:16:04 -0800
>Please review, any comments are welcome. This looks wrong:
if (String.width(msg) > 8) msg = string_to_utf8(msg); You are always utf8-decoding the string, so you should always utf8-encode them.