[Bug localedata/22073] charmaps/UTF-8: wcwidth of U+00AD (soft hyphen): 0 or 1 ?

tjk at tksoft dot com sourceware-bugzilla@sourceware.org
Mon Sep 11 11:24:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=22073

--- Comment #17 from Troy Korjuslommi <tjk at tksoft dot com> ---
I would like to point out that wcwidth of 1 for SHY would mean that
applications which haven't taken soft hyphens into consideration, as
they are rare in actual input, will display words with SHY in them very
awkwardly. Namely, as "the-os-o-phy" or "the os o phy." The actual
display will of course depend on the font in use. It can resemble a
hyphen or a space. Applications which are SHY aware, will of course
handle it separately, either breaking the word and adding a hyphen or
ignoring it.

I might add that I speculate that the reason SHY is so rarely used is
because of these kinds of disagreements over its display.

I don't see any disagreement over the intent of the SHY, so why not make
the lives of writers (who could then start including SHY in text) and
programmers (who would then find it worthwhile to write special handlers
for SHY).

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


More information about the Libc-locales mailing list