I’v created a snap that run a java cli program, the program prints to the terminal the following chars: █ ▀ ▄
Only under the snap it print ‘?’ (question marks) instead of this chars .
Anyone knows why? @ogra @ijohnson @mborzecki @jamesh
Thanks!
I’v created a snap that run a java cli program, the program prints to the terminal the following chars: █ ▀ ▄
Only under the snap it print ‘?’ (question marks) instead of this chars .
Anyone knows why? @ogra @ijohnson @mborzecki @jamesh
Thanks!
Additionally, when I’m running snap run --shell mysnap
And trying to run the chars it get them as escaped codes:
root@ubuntu1804-template:/home/myuser# █ ▀ ▄
bash: $'\342\226\210': command not found
it happens only under snap, when I’m running it in my default shell I’m getting:
root@ubuntu1804-template:~# █ ▀ ▄
█: command not found
Solved by adding to the snapcraft yaml:
apps:
my-app:
environment:
LANG: C.UTF-8
LC_ALL: C.UTF-8