Re: NetworkManager and "illegal" SSID chars = crash?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 "?"
character).

> 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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux