Skip to content

Conversation

@9bow
Copy link
Contributor

@9bow 9bow commented Jul 1, 2019

While 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.

I think this would help others translators those who suffer from UnicodeDecodeError. (And added exception to know where the error occurs from.)

@netlify
Copy link

netlify bot commented Jul 1, 2019

Deploy preview for pytorch-tutorials-preview failed.

Built with commit fbfe233

https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/5d1a06eb30f447000771bef8

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.

2 participants