[Sugar-devel] [PATCH sugar] Don't treat SSID as UTF-8 character sequence (fixes SL#2023)
Daniel Drake
dsd at laptop.org
Tue Apr 3 13:22:52 EDT 2012
On Mon, Apr 2, 2012 at 10:40 AM, Sascha Silbe <silbe at activitycentral.com> wrote:
> IEEE 802.11 [2] defines the SSID as a sequence of octets (i.e. bytes), but
> Sugar treated it as UTF-8 character data. While in most cases the SSID is
> actually some human-readable string, there's neither a guarantee for that nor
> does any (de-facto or de-jure) standard specify the encoding to use. As a
> result, we'll encounter SSIDs in a large variety of encodings and will also
> need to cope with arbitrary byte strings. Any assumption of a single (or in
> fact any) character encoding is incorrect.
Had a quick read through the patch, looks good.
Thanks
Daniel
More information about the Sugar-devel
mailing list