-
Notifications
You must be signed in to change notification settings - Fork 44
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
Some characters break the output of lolcat (stops before that certain char) #21
Comments
I can't reproduce this, but this sounds like a locale issue. lolcat-c is forcing UTF-8 locale by default because too many people have their locale incorrectly set to ASCII-only. Maybe try |
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL= |
I made small change which fixed this issue (in my case at least). It doesn't work when LANG is not set though. |
Yep, that fixes it for me as well. |
I think this happens when one doesn't have C.UTF-8 locale enabled. |
Nope, and it seems that according to commercialhaskell/stack#856 that locale isn't support on Arch. |
Ok then, I will open PR for this. |
E.g.
echo "abcßdef" | lolcat
only printsabc
. Same for ä, ö, ü, …, €, §, emojis, etc.The text was updated successfully, but these errors were encountered: