Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2018 13:04:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 225692] iswprint() wrong for some FULL WIDTH characters in UTF-8 locale
Message-ID:  <bug-225692-227-8EtmNqmZq8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225692-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225692-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225692

--- Comment #20 from Yuri Pankov <yuripv@yuripv.net> ---
Those have names as well, though pretty simple ones :-)

I did it like the following (where wc2mb is simple code snippet printing out
multibyte code suitable to be grep'ped in UTF-8.cm):

$ grep $(./wc2mb 0xE000) ~/unicode/cldr/v33.0/posix/UTF-8.cm
<PRIVATE_USE_AREA-E000>=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
      \xEE\x80\x80
$ grep $(./wc2mb 0xF8FF) ~/unicode/cldr/v33.0/posix/UTF-8.cm
<PRIVATE_USE_AREA-F8FF>=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
      \xEF\xA3\xBF

And yes, I think it would make sense to add them for the time being until
better solution is found.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225692-227-8EtmNqmZq8>