Closed scyclops closed 4 years ago
In Python 2, using six.string_types causes the code to attempt to re-encode already encoded data because six.string_types matches Python 2 str and unicode data. Using six.text_type makes sure that the code only attempts to encode unicode data.
I'll push a new version to pypi after the US holiday weekend.
In Python 2, using six.string_types causes the code to attempt to re-encode already encoded data because six.string_types matches Python 2 str and unicode data. Using six.text_type makes sure that the code only attempts to encode unicode data.