Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2021 16:51:49 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Alexey Dokuchaev <danfe@nsu.ru>
Cc:        hackers@freebsd.org
Subject:   Re: wcwidth() and wcswidth() and Latin vs. CJK character width
Message-ID:  <CAPyFy2Aw6BTyuG_6Fd8a9yMCa3kstLuxx_nBM474ftsMe4_YWw@mail.gmail.com>
In-Reply-To: <20210324143117.GA61738@regency.nsu.ru>
References:  <20210324143117.GA61738@regency.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Mar 2021 at 10:37, Alexey Dokuchaev via freebsd-hackers
<freebsd-hackers@freebsd.org> wrote:
>
> Hi there,
>
> I've been wondering if there's anything like Markus Kuhn's implementation*
> in our base libraries for $subj (my quick naive search didn't turn up any
> results).  If yes, could someone point me at it?

Kuhn's implementation is in the kernel for teken
(sys/teken/teken_wcwidth.h). But, wcwidth/wcswidth are available
already in userland, is there some reason you are looking at Kuhn's
implementation specifically?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2Aw6BTyuG_6Fd8a9yMCa3kstLuxx_nBM474ftsMe4_YWw>