Skip to content

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

Open
kaushikacharya wants to merge 1 commit into
jiesutd:masterfrom
kaushikacharya:utf8_encoding
Open

Standardizing reading input files with utf-8 encoding using io.open for both python 2 and 3.#184
kaushikacharya wants to merge 1 commit into
jiesutd:masterfrom
kaushikacharya:utf8_encoding

Conversation

@kaushikacharya

Copy link
Copy Markdown

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