On Tue, 2019-02-05 at 18:24 +0900, Masashi Honma wrote: > On 2019/02/05 17:37, Johannes Berg wrote: > > On Tue, 2019-02-05 at 11:31 +0900, Masashi Honma wrote: > > > On 2019/02/04 17:29, Johannes Berg wrote: > > > > So you say you want to use utf-8 instead of ASCII? > > > > > > No. I just mean test cases which include utf-8 SSID fails. > > > Because it is recognized as "non string" by isinstance(). > > > Though self.s.send() looks recognizes it as "string". > > > So self.s.send() tries to encode() and fails. > > > Because it includes non ASCII charcter. > > > > Huh, on python2 or python3? I had tested with some non-ASCII and > > isinstance(x, str) was True for both. Hmm. > > I'm using python3 and ap_wpa2_eap_ttls_mschapv2_utf8 test case. > Ok, strange. Since Jouni has already applied quite a bit here, I'll just leave it to you and him :) johannes _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap