Skip to content

specify encoding to avoid UnicodeDecodeError - #4

Merged
9bow merged 1 commit into
masterfrom
specify_encoding_to_avoid_UnicodeDecodeError
Jul 1, 2019
Merged

specify encoding to avoid UnicodeDecodeError#4
9bow merged 1 commit into
masterfrom
specify_encoding_to_avoid_UnicodeDecodeError

Conversation

@9bow

@9bow 9bow commented Jul 1, 2019

Copy link
Copy Markdown
Member

While Korean translation, an UnicodeDecodeError occurs while processing Sphinx's custom directive includenodoc in PyTorch in Examples tutorial.

Rather than solving problems in translated files, I do avoid this error via specifying encoding as UTF-8 while reading the included file. And added exception to know where the error occurs from.

@9bow
9bow merged commit ef4ff87 into master Jul 1, 2019
@9bow
9bow deleted the specify_encoding_to_avoid_UnicodeDecodeError branch August 12, 2019 13:15
9bow added a commit that referenced this pull request Aug 19, 2019
…deError

specify encoding to avoid UnicodeDecodeError
Choigapju added a commit to Choigapju/tutorials-kr that referenced this pull request Oct 28, 2024
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