[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: arrow width miscalculated causing truncation



>>>>> "KY" == Katsumi Yamaoka <yamaoka@xxxxxxx> writes:
KY> In [emacs-w3m : No.11786] jidanni@xxxxxxxxxxx wrote:
>> The following file renders bad in emacs-w3m, and also lynx.

KY> This seems due to a typical "East Asian Ambiguous Character Width"
KY> issue of Unicode.  I.e. probably w3m counts the string width of
KY> an arrow as 1, whereas Emacs displays it in 2.  As for Emacs,
KY> Handa-san said in the mule-ja list 3 years ago that Emacs decides
KY> the width of those characters according to the locale value; maybe
KY> European people see them in the width 1 in Emacs.  I don't know
KY> the way to let w3m do like Emacs, though.  One workaround is to
KY> use another universal encoding other than Unicode when communicating
KY> with w3m:

KY> (setq w3m-input-coding-system 'iso-2022-7bit-ss2
KY>       w3m-output-coding-system 'iso-2022-7bit-ss2)

Nice to know but I'll stick to the Unicode for better or worse...