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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 13 22:27:54 UTC 2020


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

--- Comment #15 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: yuripv
Date: Sun Dec 13 22:25:55 UTC 2020
New revision: 368619
URL: https://svnweb.freebsd.org/changeset/base/368619

Log:
  MFC r368390:

  update wcwidth data from utf8proc

  Character width data being out of date is a constant source
  of weird rendering issues and wasted time trying to diagnose
  those, e.g. as reported by Jeremy Chadwick:

  https://gitlab.com/muttmua/mutt/-/issues/67

  Sadly, there is no real ("standard") wcwidth data source, so
  this tries to rectify the problem using the utf8proc one (through
  its C API) which would hopefully benefeat both FreeBSD and
  utf8proc through bug reports (if any).

  PR:           251767

Changes:
_U  stable/12/
  stable/12/tools/tools/locale/Makefile
  stable/12/tools/tools/locale/README
  stable/12/tools/tools/locale/etc/final-maps/widths.txt
  stable/12/tools/tools/locale/tools/getwidths.c
  stable/12/tools/tools/locale/tools/mkwidths.pl

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


More information about the freebsd-bugs mailing list