[Bug 210995] cat -v fails to tag characters in extended table with M- prefix with some locales

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 5 06:54:20 UTC 2016


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

--- Comment #3 from Andrey Chernov <ache at FreeBSD.org> ---
>From second thought, this patch does not help at all.
Looking at the code I realize that cat should use wide chars everywhere,
getwc(), isw*() etc (with fallback to getc() on error). Current code suppose
single byte locale and will works incorrectly for any multibyte locale.

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


More information about the freebsd-bugs mailing list