Skip to content
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

UI visualization problem (lots of ????) on Raspberry 3B+ aarch64 build #48

Closed
gdluca opened this issue Jul 16, 2019 · 2 comments
Closed
Labels
need info Potentially a bug but we need more data

Comments

@gdluca
Copy link

gdluca commented Jul 16, 2019

Hi,

I compiled Termshark on my Raspberry 3B+ running Arch Linux ARM aarch64 and go1.12.7 linux/arm64.

When I run it, the UI looks like this:

https://imgur.com/6I4D6PG

What am i missing?

Thanks!

@pocc pocc added the need info Potentially a bug but we need more data label Jul 16, 2019
@pocc
Copy link
Collaborator

pocc commented Jul 16, 2019

This looks like a problem with unicode on your system as some of the Box-drawing characters are not rendering correctly. Are you using PuTTY/ssh to access the RPi or connected directly with keyboard/mouse/monitor? It looks like differing encodings between PuTTY and the target terminal can cause issues.

Please also respond with the output of these commands:

echo $LC_CTYPE
echo $LANG

@gdluca
Copy link
Author

gdluca commented Jul 17, 2019

Thank you pocc.
I didn't set an env for LC_CTYPE.
Set it to LC_CTYPE=en_US.UTF-8 fixed my problem.

And yes, I was using PuTTY.

@gdluca gdluca closed this as completed Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need info Potentially a bug but we need more data
Projects
None yet
Development

No branches or pull requests

2 participants