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.

ASCII Art causes encoding issues

See original GitHub issue

Not sure if this is a limitation of python on linux, my terminal, etc.

Traceback (most recent call last):
  File "japonicus.py", line 54, in <module>
    print(TITLE)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 12-14: ordinal not in range(128)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
greenbigfrogcommented, Nov 28, 2017
$ python --version
Python 3.6.3
$ locale
LANG=en_US.UTF-8
LC_CTYPE=C
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
0reactions
Gab0commented, Nov 28, 2017

really? I thought nobody cared for those messages lool

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve unicode encoding issues - Invivoo
In ths new article, our expert will explain you how to solve unicode encoding issues. If you have any question, don't hesite to...
Read more >
Running into an issue printing asccii-art shadow character
It would seem that notepad can display and print the character just fine, but some encoding within python cannot recognize the character. Any ......
Read more >
Beyond Encoding: A Critical Look at the Terminology of Text ...
This paper presents a critical overview of the genres of text art. It includes but is not limited to ASCII, Western and Chinese...
Read more >
Mojibake - Wikipedia
Mojibake is the garbled text that is the result of text being decoded using an unintended character encoding. ... Symptoms of this failed...
Read more >
[Acknowledged by Flickr Staff] Encoding issues in titles & tags ...
My tags page shows a number of encoding problems with other specific non-ASCII characters, but in most cases it is specific characters like ......
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