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

Standardizing reading input files with utf-8 encoding using io.open for both python 2 and 3. #184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kaushikacharya
Copy link

This enables reading text of languages written in non-ascii characters.

Reference: https://stackoverflow.com/a/22288895/282155

…nd 3. 2. Line stripped before checking its length. 3. Creating dir (if not exist) before writing decode output.
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.

1 participant