akavel / up

Ultimate Plumber is a tool for writing Linux pipes with instant live preview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chinese support got an issue

hntee opened this issue · comments

commented

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.

#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 😞