KEMBAR78
specify encoding to avoid UnicodeDecodeError by 9bow · Pull Request #4 · PyTorchKorea/tutorials-kr · GitHub
Skip to content

Conversation

@9bow
Copy link
Member

@9bow 9bow commented Jul 1, 2019

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