ITADN

Use Debian's UTF-8 Patch For Calculating the Number of Columns

#65Openrgarber11 创建于 2024-09-25
bug
R
rgarber11commented
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 条评论