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

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



On Wed, 2007-09-05 at 10:55 -0600, Richi Plana wrote:
> On Wed, 2007-09-05 at 12:44 -0400, Owen Taylor wrote:
> > > Shouldn't those octet character strings be converted to Unicode strings,
> > > anyway? I thought that Gtk (via Pango) had displaying international
> > > character down pat.
> > 
> > In order to "convert octet character strings" into Unicode and display
> > them, you have to know what encoding the strings are in. Bytes are
> > just bytes until you have an encoding.
> 
> I was under the assumption they were 8-bit ASCII strings. Anyway, it's a
> NetworkManager issue. They would know what the drivers are returning,
> right?

Right; it is an NM issue.  If NM crashes or misbehaves with a weird
SSID, we need to fix it.

As specified in the 802.11 standard, the ESSID is a 32-byte byte array,
there are no restrictions made as to what content that 32-bytes may
contain.  It is up to the program to attempt to coerce that value into
something to present to the user.

Dan



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