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

Special characters in the author's name #69

Closed
vaclav-2012 opened this issue Dec 5, 2020 · 9 comments
Closed

Special characters in the author's name #69

vaclav-2012 opened this issue Dec 5, 2020 · 9 comments
Assignees

Comments

@vaclav-2012
Copy link

The author's name contains special characters that prevent the installation on Windows with Japanese encoding.

pip raises the following error:

File "C:\Users\test\AppData\Local\Temp\pip-install-qogza7z4\dotty-dict\setup.py", line 16, in <module>
        readme = readme_file.read()
UnicodeDecodeError: 'cp932' codec can't decode byte 0x82 in position 119: illegal multibyte sequence
@Dysproz
Copy link
Collaborator

Dysproz commented Dec 7, 2020

Hi @vaclav-2012
I've created PR where I replace Polish letters with standard Latin letters (PR #70 ).

@vaclav-2012
Copy link
Author

Hi @Dysproz, Thank you for making the fix. Since the error was rasied by this line it may be safer to replace the Polish letters also in the README.rst file.

@Dysproz
Copy link
Collaborator

Dysproz commented Dec 18, 2020

@vaclav-2012 I've created PR #72 to remov eit from README.rst as well. Thank you :)

@vaclav-2012
Copy link
Author

@Dysproz Thank you for the update.

@Dysproz
Copy link
Collaborator

Dysproz commented Dec 22, 2020

PR has been merged. May you check whether it works for you now? It is local install, isn't it? So we don't have to release immediately new package to PyPI.

@vaclav-2012
Copy link
Author

The error appears during the installation from PyPI. Could you publish it to https://test.pypi.org for testing purposes? I can try to install the new version from https://test.pypi.org.

@Dysproz
Copy link
Collaborator

Dysproz commented Dec 22, 2020

@pawelzny would you mind publishing it? You have the keys :)

@skullydazed
Copy link

We have some users affected by this. Would it be possible to get a new package published?

@methane
Copy link

methane commented Nov 25, 2021

You can use encoding="utf-8" instead of removing non ASCII character from README.

See pypa/packaging.python.org#682

For workaround, you can set PYTHONUTF8=1 environment variable to make Python use UTF-8 as the default text encoding even on Windows.

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 a pull request may close this issue.

5 participants