UnicodeEncodeError when parsing reply with python 2.7.x for version 0.6

Issue #139 new
Ernesto Revilla
created an issue

In suds.client near line 840 in _parse:


This invokes suds/sax/parser.py, near line 132:


For Python 2.7.12, BytesIO is cStringIO.StringIO as per imports, but cStringIO.StringIO does not allow Unicode strings as per docs, but has been converted to it, in client.py near line 633:

    reply = unicode(reply, 'utf-8')

Comments (1)

  1. Log in to comment