Hello,

On Tue, 08 May 2012 21:53:06 +0200, Stuart Pook wrote:

> Package: wicd
> Version: 1.7.2.3-1
> Severity: normal

Please upgrade to 1.7.2.4-2 and try again.

> [..]
> I used wicd to connect to a wireless network that wicd showed as having
> the ESSID "réseau sans fil". The connection failed with an authentification
> error.
> 
> While wicd was running "iwlist scanning" gave:
> 
> Cell 07 - Address: 00:0C:F6:xx:xx:xx
>           Channel:11
>           Frequency:2.462 GHz (Channel 11)
>           Quality=55/70  Signal level=-55 dBm  
>           Encryption key:on
>           ESSID:"r\xE9seau sans fil"
>           Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
>                     18 Mb/s; 36 Mb/s; 54 Mb/s
>           Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
>           Mode:Master
>           Extra: Last beacon: 2524ms ago
>           IE: IEEE 802.11i/WPA2 Version 1
>               Group Cipher : CCMP
>               Pairwise Ciphers (1) : CCMP
>               Authentication Suites (1) : PSK
> 
> Note that the ESSID contains an e-acute encoded in iso_8859-1 (latin1).

I strongly suggest you to switch to UTF-8. :)

> Wicd fails to connect.
> 
> I ran iwconfig while wicd was trying to connect and saw
> 
> wlan0     IEEE 802.11bgn  ESSID:"r\xC3\xA9seau sans fil"  
>           Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
>           Tx-Power=20 dBm   
>           Retry  long limit:7   RTS thr:off   Fragment thr:off
>           Power Management:off
> 
> Note that the ESSID contains an e-acute encoded in utf-8. wicd has read
> an accented character in iso 8859-1 and has transformed it into utf8. This
> is, of course, wrong. wicd should use the ESSID as reported by iwlist.

I honestly use UTF-8 on all my systems, so I need a bit of assistance to debug
this.

Could you please run:

$ python -c "import locale; e = locale.getpreferredencoding(); print e,
repr(u'\xe9'.decode(e))"

(all on one line)
and report the output here?

I probably need you to test many things, so... be prepared! :)

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

Attachment: signature.asc
Description: PGP signature

Reply via email to