question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

README.md non-ASCII character and build

See original GitHub issue

Describe the bug For the build process to succeed in windows the encoding should be explicitly set to UTF-8. It is guaranteed to fail otherwise, a similar incident happened on conda-forge and now see https://github.com/akamhy/videohash/pull/83.

The following line is a must for the package to be buildable on windows. https://github.com/akamhy/waybackpy/blob/7ac9353f74a4d44b1b69e6b19cdda3451eb3db5f/setup.py#L5

But https://github.com/akamhy/waybackpy/commit/e61447effddb1ab5d68e58ff07420f18f47a1c5b#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7 moved all stuff from setup.py to setup.cfg. This means the build will fail on windows as we are not explicitly telling to set encoding to UTF-8.

What non-ASCII stuff in README.md Emojis

Possible fix

Revert https://github.com/akamhy/waybackpy/commit/e61447effddb1ab5d68e58ff07420f18f47a1c5b#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7

OR

Remove emojis from README.md

OR

https://github.com/pypa/setuptools/issues/1702

Version:

  • OS: Windows
  • Version: Current
  • Is the latest version? Yes

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
akamhycommented, Feb 8, 2022

recommendation: https://emojipedia.org

Sorry, but using GitHub-hosted equivalent emojis appears to be a better Idea. Nothing will change for the end-user as we will be using the same images they were served before(GitHub replaces emojis with equivalent images).

1reaction
eggplantscommented, Feb 8, 2022

Test

#### <img src="https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/joypixels/291/gear_2699-fe0f.png" width=10 height=10></img> Test
Read more comments on GitHub >

github_iconTop Results From Across the Web

Non-ASCII characters in README.rst · Issue #85 · wolever ... - GitHub
Building fails with Python 3.6 (UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 6553: ordinal not in range(128)) because there are ...
Read more >
Markdown, Perl and character encoding: rendering non-ASCII ...
I'm new to Markdown and I instantly liked the idea of a readable plain text document with the ability to (rather) easily convert...
Read more >
71965 – Garbled non-ASCII characters in Readme
As I've heard from gkocur, the Readme is current, the only problem is that in the build the encoding from UTF-8 to CP-1250...
Read more >
PEP 3131 -- Supporting Non-ASCII Identifiers - Python.org
Add a new built-in function, ascii(). This function converts any python object to a string using repr() and then hex-escapes all non-ASCII characters....
Read more >
Android Studio Gradle build error - Development - ODK Forum
However, I am getting a build.grable error that says: Gradle sync failed: Your project path contains non-ASCII characters
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found