Use Debian's UTF-8 Patch For Calculating the Number of Columns
bug
Debian currently includes [a patch for UTF-8 widths](https://sources.debian.org/patches/cowsay/3.03%2Bdfsg2-8/utf8_width/). While the patch itself states that it doesn't work for CJK sets, and I know there are some questions with licensing with the Debian Cows, it would still be helpful for other languages:
Without patch:
```
________________________________________
/ Ищу свое лицо. Особых \
| примет нет. |
| |
\ -- Т. Клейман /
----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
```
With patch:
```
___________________________________
/ Ищу свое лицо. Особых примет нет. \
| |
\ -- Т. Клейман /
-----------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
```
2 条评论