flask-oauth icon indicating copy to clipboard operation
flask-oauth copied to clipboard

Fixed: Decoding XML breaks ElementTree

Open jonshao opened this issue 11 years ago • 0 comments

The current version actually gives me an error: "UnicodeEncodeError: 'ascii' codec can't encode characters in position #-#: ordinal not in range(128)", since the XML I'm getting back has this information ""

Removing the extraneous decode fixes things for me. Is there a better way to work around the implementations that get the encoding wrong?

See: http://stackoverflow.com/questions/12349728/elementtree-and-unicode

jonshao avatar Feb 10 '14 04:02 jonshao