Bram Moolenaar writes:
> there doesn't seem to be a
> version of wcwidth() that accepts an argument for the encoding, instead of
> using the current locale (which can't be changed without many side effects).

The function uc_width in gettext-0.10.36/lib/linebreak.c takes a
Unicode character and the originating encoding name as arguments, so
it can distinguish between CJK-style width and the normal width
definition.

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

Reply via email to