up icon indicating copy to clipboard operation
up copied to clipboard

Chinese support got an issue

Open hntee opened this issue 3 years ago • 1 comments

Hi, I am new to up and encountered an issue while using it. When the file is in Chinese, the characters are not displayed normally in the program

$ cat 1.txt
吃饭
喝茶
睡觉

Inside up, it showed only one character

cat 1.txt | up 
 |
吃
喝
睡

And grep cannot work well either.

hntee avatar Aug 24 '20 02:08 hntee

#42 would probably fix this, but I have hard time getting myself to tweak/refactor it enough to make me confident it is correct, and also getting myself to add enough tests to also make me feel safe of that correctness 😞

akavel avatar Jan 15 '21 23:01 akavel