On Tue, 08 May 2012 22:30:14 +0200, Stuart Pook wrote: > > Please upgrade to 1.7.2.4-2 and try again. > > I will upgrade but I will not have access to this access point again for > at least a month.
Ugh. > >> Note that the ESSID contains an e-acute encoded in iso_8859-1 (latin1). > > I strongly suggest you to switch to UTF-8. :) > > I always use UTF-8. It is not my access point and I didn't configure it. > I guess that the access point uses iso8859_1 or perhaps the person that > configured it uses iso8859-1. I could try to find the make and model of > the AP. Oh. I thought your computer was set to be ISO-8859-1, not really the access point. > > I honestly use UTF-8 on all my systems, so I need a bit of assistance to > > debug this. > > Me too. Perhaps you could just create a fake iwlist that gives an ESSID > in iso8859-1 and check what ESSID wicd puts in the file for > wpa_supplicant? (I presume that wicd uses iwlist to get the list of > access points.) Yes, it does. _However_, I just can't guess which encoding a particular string is using. See below. > > Could you please run: > > > > $ python -c "import locale; e = locale.getpreferredencoding(); print e, > > repr(u'\xe9'.decode(e))" > > :; python -c "import locale; e = locale.getpreferredencoding(); print e, > repr(u'\xe9'.decode(e))" > UTF-8 > Traceback (most recent call last): > File "<string>", line 2, in <module> > File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode > return codecs.utf_8_decode(input, errors, True) > UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in > position 0: ordinal not in range(128) > > I don't know how this helps as I did not configure the ESSID of this > access point. This is the exact same result I had on my laptop; that's because both of us are using UTF-8. Understanding what encoding the string is, is really difficult. What can I try doing is getting the string as shown in "iwlist", and passing it to "iwconfig", while still translating it when shown anywhere else (the GUIs, for example). This requires a bit of work, though, and can't tell whether I can make it for 1.7.3. Kindly, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: PGP signature

