NetworkManager and "illegal" SSID chars = crash?

Richi Plana myfedora at
Wed Sep 5 18:00:46 UTC 2007

On Wed, 2007-09-05 at 13:49 -0400, Dan Williams wrote:
> try UTF-8 validation

UTF-8 validation is easy, but it would've been easierhad they actually
put in the BOM character, :).

> try validation from the encoding in LANG

Pretty slim chances that whoever configured the wireless network is
using the same encoding as whoever configured LANG.

> fall back to a lot of ? for unprintables

Either that or use "byte value = unicode value" (ie. 0x01 = , 0x7F = ,
0x80 = €, 0xFF = ÿ, etc.) and let Pango render the characters (to at
least differentiate the characters from each other and from the "?"

> For example, if I live in Shanghai, I should be able to make my AP SSID
> some native character like 虚.  However, if I live in Central Europoe
> and for some reason I use ISO 8859-15 (or whatever it is) I'd probably
> like my ň to show up.  I believe NM should try at least a few ways of
> parsing the SSID (not too many) and just fall back to ? in the end.
> This is what it currently does, but apparently somewhat badly.

Or go upstream and have IEEE settle it, :-p.

Richi Plana

More information about the fedora-devel-list mailing list