hexyl icon indicating copy to clipboard operation
hexyl copied to clipboard

Hexyl show garbage on LXTerminal

Open raspiduino opened this issue 1 year ago • 1 comments

I'm on Debian 11 on Linux Deploy (a kind of chroot for Android). My phone has an arm64 SoC.

I have installed the arm64 version of Hexyl using apt, as you can see in the picture. My LXTerm version is 0.4.0:

image

When I open any binary file using Hexyl, the following things output instead of Hexyl's beautiful interface:

image

I can still read the hex, but the ? character is annoying.

What might be the problem? I think LXTerminal support Unicode, doesn't it?

Originally Linux Deploy set the $LANG variable to C. I tried setting that to en_US.UTF-8 but got the same result

Any ideas?

Thanks!

raspiduino avatar Jul 21 '22 08:07 raspiduino

I think LXTerminal support Unicode, doesn't it?

I don't know. Doesn't look like it's properly handling the unicode output. Maybe try something like

echo "😀"

For hexyl, you can try --border=ascii, but that will probably still leave the unicode characters in the panel on the right. You can also try to search the issue tracker for "encoding", I think there have been a few other users with similar problems.

sharkdp avatar Jul 25 '22 19:07 sharkdp

I'm closing this due to inactivity. Please feel free to comment in case it should be re-opened.

sharkdp avatar Dec 05 '22 20:12 sharkdp