Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize Unicode outputs #70

Merged
merged 10 commits into from
Jun 22, 2017
Merged

Standardize Unicode outputs #70

merged 10 commits into from
Jun 22, 2017

Conversation

wpercy
Copy link
Contributor

@wpercy wpercy commented Apr 12, 2017

Because of type changes between Python 2 and 3, files with Unicode text were not being handled consistently across versions.

This PR should normalize the handling of Unicode text by taking in as input Unicode, converting to <type 'str'> (Python 2) or <type 'bytes'> (Python 3) and outputting data as <type 'unicode'> in Python 2 and <type 'str'> in Python 3+.

Should resolve #51

@wpercy wpercy merged commit d94876e into master Jun 22, 2017
@wpercy wpercy modified the milestone: 0.9.5 Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changed behviour in 0.9.x from unicode to str
1 participant