[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wcwidth and locale
On Mon, Apr 09, 2007 at 12:26:51PM -0400, SrinTuar wrote:
> It seems they are double width in most fonts, but on my systems even
> in east asian locales they still return widths of 1. (so I get funny
> overlaps in my terminals )
Though I cannot answer your original question, I've just found recently that
glibc's wcwidth database suffers from problems. There are a lot of letters
or letter-like symbols that are unprintable according to glibc (wcwidth
returns -1, iswprint returns 0). For example U+0221 (latin small letter d
with curl) is the first such character. I think we should submit a bugreport
for glibc...
I don't know whether the width info varies or should vary between different
utf-8 locales.
--
Egmont
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/