[Bug 251767] wcswidth() from libc reports wrong string lenght (no unicode 9 support)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 12 00:18:45 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251767

Yuri Pankov <yuripv at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs at FreeBSD.org,
                   |                            |yuripv at FreeBSD.org
             Status|New                         |Open
           Assignee|bugs at FreeBSD.org            |yuripv at FreeBSD.org

--- Comment #1 from Yuri Pankov <yuripv at FreeBSD.org> ---
It's not exactly about unicode support, rather about the character width data
being very outdated.  I have (hopefully) fixed this in -CURRENT, see base
r368390.  I'll check if it's possible to MFC shortly.  As a really quick fix,
try replacing tools/tools/locale/etc/final-maps/widths.txt with the one from
-CURRENT
(https://svnweb.freebsd.org/base/head/tools/tools/locale/etc/final-maps/widths.txt?view=log)
and rebuilding/installing ctype data in share/ctypedefs.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-bugs mailing list