[Bug 263184] net-mgmt/wifimgr: Repeatedly crashes after entering password

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Apr 2022 09:37:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263184

--- Comment #5 from J.R. Oldroyd <fbsd@opal.com> ---
(In reply to Michael Buch from comment #4)

Things work well already with UTF-8 characters in ssids.  In fact, it should
work fine as long as LC_CTYPE matches the type of data.  Gtk/pango already
convert unrecognized sequences to UTF-8 Replacement Characters.

802.11 does not define ssid contents or character set and ssids can contain any
arbitrary octet sequence.  One could say that wifimgr should examine the ssid
octets and do something with sequences that gtk/pango will not be able to
display, but the problem is knowing what sequences are not valid when there is
no way of knowing what character set (if any) the data is in.  Each received
ssid could be in different character set or be just arbitrary octets.  There's
no need for wifimgr to check for invalid UTF-8 because gtk/pango already does
that.

-- 
You are receiving this mail because:
You are the assignee for the bug.