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.

UTF-8 emoji icons fail to display in a Pycharm 2019.2.1 terminal in windows

See original GitHub issue

This was created on a windows 10 environment with Pycharm 2019.2.1.

Running mutmut in the Pycharm native terminal fails to render the emojis indicating killed 🎉, suspicious 🤔, and surviving 🙁 mutants.

For example:

(venv) >mutmut run --paths-to-mutate my_project

- Mutation testing starting -

These are the steps:
1. A full test suite run will be made to make sure we
   can run the tests successfully and we know how long
   it takes (to detect infinite loops for example)
2. Mutants will be generated and checked

Results are stored in .mutmut-cache.
Print found mutants with `mutmut results`.

Legend for output:
� Killed mutants.   The goal is for everything to end up in this bucket.
⏰ Timeout.          Test suite took 10 times as long as the baseline so were killed.
� Suspicious.       Tests took a long time, but not long enough to be fatal.
� Survived.         This means your tests needs to be expanded.

mutmut cache is out of date, clearing it...
1. Running tests without mutations
...

Maybe we should simply adopt a ASCII text based notation?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
Zac-HDcommented, Jan 22, 2020

I just substituted the words killed, timeout, suspicious, survived. It’s not as pretty, but it is completely unambiguous.

1reaction
cmarqucommented, Oct 1, 2019

FWIW, I’m on an oldish Red Hat 6 system where both xterm and gnome-terminal also have a (slightly different) problem with some of the emojis. Maybe instead of ⠙ 70/70 🎉 53 ⏰ 0 🤔 4 🙁 13 it could e.g. be 70/70 \o/ 53 -->| 0 :-? 4 :-( 13 with some coloring for those of us stuck with inferior environments?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Terminal does not support Emoji Characters : IDEA-248010
I have the same issue with PhpStorm and starship. But, I can see there are few emojis are displaying. Here is a screenshot...
Read more >
terminal does not show emoji correctly : IDEA-161919
IDEA-286076 WSL2 terminal with ZSH doesnt display UTF8 emojis correctly ... mark" icon is displayed, taking up 1 column; Using WIndows API to...
Read more >
unicode character is incorrectly displayed in terminal - YouTrack
I found a hack on the Internet that suggested editing the file C:\Program Files\JetBrains\IntelliJ IDEA 2019.1\bin\idea64.exe.vmoptions and adding the following ...
Read more >
No support for utf-8 output when running from IDE on Windows
GO-9807 Console fails to display unicode characters. Workaround: open "Settings | Editor | General | Console" and set "Default Encoding" to "UTF-8".
Read more >
PyCharm cannot display full UTF-8 characters (for example ...
PyCharm cannot display full UTF-8 characters (for example this emoji: 😊) PyCharm's UTF-8 encoding support doesn't appear support the full 4-byte UTF-8 ......
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