rxvt-unicode treats some Japanese FULLWIDTH chars as HALFWIDTH

Dai.H. dg-f at users.sourceforge.net
Wed Mar 21 10:26:21 CET 2007


Hi,

On Fri, Nov 03, 2006 at 12:41:44AM -0800, Dai.H. wrote:
> xterm has -cjk_width option.  When turned on, characters with East Asian
> Ambiguous (A) category in UTR 11 have a column width of 2. (see xterm(1x).)
> 
> mlterm has col_size_of_width_a=value.  Number of columns of Unicode characters
> with EastAsianAmbiguousproperty. (see mlterm(1).)
> 
> Would you please support this feature?

ja_JP.eucJP locale is fixed by src/rxvt.h r1.265.
But ja_JP.UTF-8 locale is still weird.

Do you plan to merge doc/solaris9.patch?
It is based on Markus Kuhn's wcwidth.c[1],
but its ambiguous table is old (Unicode 4.0).
It has to be updated by Markus Kuhn's uniset Perl script[2].
It works well for ja_JP.UTF-8 locale.

I think -cjk_width option switch (like xterm) is
better than replacing wcwidth (src/solaris9.patch).

Regards,
-- 
	dai

[1] http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
[2] http://www.cl.cam.ac.uk/~mgk25/download/uniset.tar.gz




More information about the rxvt-unicode mailing list