Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

encoding issue #38

Closed
entone opened this issue Apr 6, 2012 · 2 comments
Closed

encoding issue #38

entone opened this issue Apr 6, 2012 · 2 comments

Comments

@entone
Copy link

entone commented Apr 6, 2012

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.

@eswald
Copy link

eswald commented Jan 23, 2014

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.

@timcappalli
Copy link
Member

This repo is being archived. Closing issue.

@timcappalli timcappalli closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants