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

Re: wcwidth() implementation



Markus Kuhn <Markus.Kuhn@xxxxxxxxxxxx> writes:

> Attached is my public domain implementation of the wcwidth() and
> wcswidth() functions. I hope you will find it useful for inclusion into
> glibc,

Why?  I have a correct implementation in glibc.  It is not based on
some obscure hardcoded algororithm but instead allows locale-dependent
information.  Hardcoding is really unsuitable since not all character
sets agree with UCS about the width.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/