python-openid
python-openid copied to clipboard
encoding issue
In attempting to use é in a lastname ax attribute, I get an ascii encoding error.
it would appear https://github.com/openid/python-openid/blob/master/openid/message.py#L348 is the problem.
ElementTree.tostring accepts an encoding argument, but defaults to None. This causes an error when returning UTF-8 characters.
That particular error message seems to have been fixed by commit 0dd2e81. Granted, it still pays to take care with the value returned, to ensure that it gets decoded properly downstream, and it would help to have a new official release.
This repo is being archived. Closing issue.