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

Transformer: explicitly indicate encoding #313

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

compnerd
Copy link
Contributor

When using this on Windows, Python would complain about the UTF-8
encoding in the file:

Non-ASCII character '\\xc2' in file ./Transformer\\encoder.py on line 23, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Explicitly indicate the encoding in the file.

When using this on Windows, Python would complain about the UTF-8
encoding in the file:

```
Non-ASCII character '\\xc2' in file ./Transformer\\encoder.py on line 23, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
```

Explicitly indicate the encoding in the file.
@saeta saeta merged commit 4bae685 into tensorflow:master Feb 14, 2020
Shashi456 pushed a commit to Shashi456/swift-models that referenced this pull request Feb 20, 2020
When using this on Windows, Python would complain about the UTF-8
encoding in the file:

```
Non-ASCII character '\\xc2' in file ./Transformer\\encoder.py on line 23, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
```

Explicitly indicate the encoding in the file.
Shashi456 pushed a commit to Shashi456/swift-models that referenced this pull request Feb 20, 2020
When using this on Windows, Python would complain about the UTF-8
encoding in the file:

```
Non-ASCII character '\\xc2' in file ./Transformer\\encoder.py on line 23, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
```

Explicitly indicate the encoding in the file.
@compnerd compnerd deleted the encoding branch February 27, 2021 23:25
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.

3 participants