holman / spark

▁▂▃▅▂▇ in your shell.
http://zachholman.com/spark/
MIT License
6.01k stars 290 forks source link

Prints ââââ for me #98

Open dbabits opened 6 years ago

dbabits commented 6 years ago

Does it assume certain terminal or shell? Here's how the code shows when I open it using less:

     16 # Examples:
     17 #
     18 #   spark 1 5 22 13 53
     19 #   # => <E2><96><81><E2><96><81><E2><96><83><E2><96><82><E2><96><87>

> ./spark 1 5 22
âââ

I'm using Putty (default options) and bash.

carbontwelve commented 6 years ago

This could be a character encoding issue. I know when I use putty that some console apps put out â until I change the character encoding for the connection.