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

glibc wcwidth




I'm running with glibc-2.3.2, and the wcwidth system call seems to have problems. (ive tried the syscall across rhel, rh9, and fc1 so far)

For example, in the locale ja_JP.utf8:
0x00006BDF "毟" mk_wcwidth=2 wcwidth=-1" iswprint=no
0x000030E2 "モ" mk_wcwidth=2 wcwidth=-1" iswprint=no
0x00008AAD "読" mk_wcwidth=2 wcwidth=-1" iswprint=no
0x0000307F "み" mk_wcwidth=2 wcwidth=-1" iswprint=no
0x00004EEE "仮" mk_wcwidth=2 wcwidth=-1" iswprint=no
0x0000540D "名" mk_wcwidth=2 wcwidth=-1" iswprint=no

Does anyone know if wcwidth is/was broken in glibc?

Most console applications seem to work correctly, perhaps they
are not using glibc's wcwidth. (well almost correctly. If I could
get them to use wide cells for ambiguous width characters such as
these ★■×○☠☢☣☤♀,  it would match my fonts alot better...)

--
□■□■□■□


-- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/