-
Hi! I was trying to execute a sh code block, but it contain caracters like
For example: ```bash exec="1" result="ansi"
printf '💎, 🐍, 🔓, 🔐, 📦, 🙃\n'
```
```bash exec="1" result="ansi"
printf 'éèàùôç'
```
```bash exec="1" result="ansi"
printf '\x1b[32mHere it works !\x1b[91m.\n'
printf '\x1b[3;33mHere it works\x1b[23;39m\n'
``` ... is rendered as... Is there a way to display these caracters in an executed code block? Thanks for your time 😊 Additional question: Is there any reason there is no support for italic and darker/lighter/etc. color code? For example |
Beta Was this translation helpful? Give feedback.
Answered by
pawamoy
Mar 25, 2024
Replies: 1 comment 9 replies
-
It seems to work fine on my end 🙂 Can you check if your file is encoded in UTF8? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try setting these environment variables on your system:
PYTHONUTF8=1
PYTHONIOENCODING=UTF8
If that still does not work, I'll just blame the annoying operating system and leave it at that 🤷