Yubin Ruan
2018-03-09 00:34:28 UTC
Hi, I am writing to ask if anyone have any solution for properly formating
mails in Chinese in the pager. I am using the builtin pager but it seems to
not be able to calculate the width of Chinese characters. It tend to take a
whole line of Chinese characters as just one unit, and when it is too long,
this whole line is shown in a second line, which make the appearance ugly:
+------------------------------------------------------------------------+
|这是一个例子, |
|这是一个很长的句子这是一个很长的句子这是一个很长的句子这是一个很长的句子|
|这是一个很长的句子这是一个很长的句子这是一个很长的句子这是一个很长的句子|
|这是一个很长的句子这是一个很长的句子这是一个很长的句子这是一个很长的句子|
| |
| ... |
| |
+------------------------------------------------------------------------+
You see, the second line should begin from where the first line ends, but now
it is just chopped as a whole...
VIM used to have this problem, but it can be solved by "set ambiwidth=double".
Does mutt has similar option?
I guess this is due to my local configuration, as my local is entirely in
English. But I don't know the local things that much, so I don't know how to
configure it properly.
Thanks,
Yubin
mails in Chinese in the pager. I am using the builtin pager but it seems to
not be able to calculate the width of Chinese characters. It tend to take a
whole line of Chinese characters as just one unit, and when it is too long,
this whole line is shown in a second line, which make the appearance ugly:
+------------------------------------------------------------------------+
|这是一个例子, |
|这是一个很长的句子这是一个很长的句子这是一个很长的句子这是一个很长的句子|
|这是一个很长的句子这是一个很长的句子这是一个很长的句子这是一个很长的句子|
|这是一个很长的句子这是一个很长的句子这是一个很长的句子这是一个很长的句子|
| |
| ... |
| |
+------------------------------------------------------------------------+
You see, the second line should begin from where the first line ends, but now
it is just chopped as a whole...
VIM used to have this problem, but it can be solved by "set ambiwidth=double".
Does mutt has similar option?
I guess this is due to my local configuration, as my local is entirely in
English. But I don't know the local things that much, so I don't know how to
configure it properly.
Thanks,
Yubin