[Bug 225692] iswprint() wrong for some FULL WIDTH characters in UTF-8 locale

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 5 20:26:01 UTC 2018


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

--- Comment #2 from Conrad Meyer <cem at freebsd.org> ---
By the way, it might be interesting to play with nextwctype(3) to enumerate the
current table.

wint_t wc = 0;
wctype_t wct = wctype("print");

while (wc < 0x10FFFF && wc >= 0) {
  wc = nextwctype(wc, wct);
  printf("%d: `%lc'\n", (int)wc, wc);
}

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


More information about the freebsd-bugs mailing list