-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Weird characters showing up #98
Comments
Oh dear 😄 It looks like your terminal can not print the unicode characters I wonder if there is some way to detect this. |
i'm using termite. |
Nevermind, it had to do with my locale which was not set. Thx for the help! |
Thank you for the feedback. |
Hi, I got the same problem with urxvt, with DejaVu Sans Mono. However, my locale is set.
Any idea on how to fix this? |
Does this work for you? printf "\xE2\x94\x82\n" It shoud print this unicode character: |
Yes it works. |
Could you please show a screenshot of
I cannot reproduce this with |
Thank you for the screenshots. This is weird ... I am running out of ideas here. The font does not seem to be the problem, I think. Could you try some methods suggested in the urxvt FAQ, i.e.:
|
Thank you for your time. Sadly, none of these commands solved the problem. |
Fix launching of pager so all control characters are interpreted instead of only ANSI "color" escape sequences. This fixes issue sharkdp#98
I noticed the same issue with bat 0.3.0 from crates.io. The following works fine:
This doesn't (launch bat with pager manually with same arguments as in the git version:
This works:
Less manpage:
Pull request: #143 |
For me,
On another server, we have another version of less, and there
|
I got the "less 436" version working with the following:
According to the man page of less:
I have this setting in my env on that server (it should pick up the LANG setting to find out about UTF-8, but it seems to ignore it): echo LC_ALL=$LC_ALL LC_TYPE=$LC_TYPE LANG=$LANG
LC_ALL=C LC_TYPE= LANG=en_US.UTF-8 |
@ghuls That is a good hint! I didn't think about the possibility that @Berjou Could you please try @ghuls I'm not sure if #143 is really the fix that we need. It doesn't seem to me that we output any "raw control characters" except for the ANSI color sequences? |
@sharkdp |
Setting the |
Fixed in v0.4 |
See pic below. I guess it is the lines that are not being drawn properly.
How can i fix it?
thx
The text was updated successfully, but these errors were encountered: