[OpenWrt-Devel] [PATCH] hostapd: announce utf8 encoding of ssid

Jouke Witteveen j.witteveen at gmail.com
Mon Jul 2 04:08:14 EDT 2018


On Mon, Jul 2, 2018 at 6:58 AM John Crispin <john at phrozen.org> wrote:
>
>
>
> On 28/06/18 22:47, Jouke Witteveen wrote:
> > +     set_default utf8_ssid 1
>
> does this not make it use utf8 by default ?

Yes, it does. I argued that it is utf8 anyway, unless we do some
manual tinkering. An SSID set via LuCI is almost guaranteed to be utf8
an encoded string.

In the end, setting the bit or not should me more or less
inconsequential. It is only there to tell the client how to display
the SSID. Most clients seem to assume utf8 encoding anyway, but it
would be good practice to use this bit. Without the bit, the SSID
should really be treated as a meaningless (non human-readable) byte
string.

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list