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

Question mark instead of pipes. #63

Open
ghost opened this issue Jul 12, 2018 · 4 comments
Open

Question mark instead of pipes. #63

ghost opened this issue Jul 12, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Jul 12, 2018

I'm currently on Ubuntu 16.04, with various personalized font installed (font awesome, monaco, consolas). I've also installed consolas, that as far as i can see is the font on the readme file here on github, but when i run pipes, just question marks appears.

@StefansM
Copy link

Hi @simoneeva,
It sounds like you are either missing missing some required characters from your font, or pipes.sh can't display Unicode characters with your locale / terminal combination.

Can you tell me:

  1. The terminal emulator you are using (xterm, urxvt, etc).
  2. The output of the locale command.
  3. The value of the $TERM environment variable (echo $TERM).
  4. What happens when you run pipes.sh -t 4. You should see a pipe made of -|+ characters.

@ghost
Copy link
Author

ghost commented Jul 16, 2018

i'm using Terminator

Output of the locale command:

(xenial)simone@localhost:~$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

echo $TERM output is nothing

pipes.sh -t (4-5-6-7-8) display the correct things, the exception are n°1-2-3-9

@StefansM
Copy link

The options that aren't working require your terminal to use UTF-8 character encoding, but the POSIX locale is a fallback locale and only encodes for ASCII characters.

If you have any UTF-8 locales available (locale -a), you can temporarily enable one of them using export LC_ALL=<name of locale> and try pipes.sh again. See https://help.ubuntu.com/community/Locale for details on how to generate a new locale if you don't have any suitable one available, and how to permanently set your locale.

@sairam
Copy link

sairam commented Sep 5, 2019

I had a similar issue for mac.

I did export LC_ALL="en_US.UTF-8" and it works fine for -t 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants