This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
[Bug localedata/22073] charmaps/UTF-8: wcwidth of U+00AD (soft hyphen): 0 or 1 ?
- From: "tg at mirbsd dot de" <sourceware-bugzilla at sourceware dot org>
- To: libc-locales at sourceware dot org
- Date: Mon, 11 Sep 2017 15:44:46 +0000
- Subject: [Bug localedata/22073] charmaps/UTF-8: wcwidth of U+00AD (soft hyphen): 0 or 1 ?
- Auto-submitted: auto-generated
- References: <bug-22073-716@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22073
--- Comment #18 from Thorsten Glaser <tg at mirbsd dot de> ---
(In reply to Troy Korjuslommi from comment #17)
> 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
That is done even when wcwidth(U+00AD) == 1, because the application would
never send U+00AD to the tty but always either no character or one of the
other hyphen-ish codepoints.
In fact, if a font renders U+00AD different from U+002D, an SHY-aware
application might even PREFER it to have wcwidth 1 because then it COULD
send U+00AD to the tty *in the places where it expands to a hyphenation*
(and just omit it where not).
For GUI applications, wcwidth() is of no meaning anyway.
> awkwardly. Namely, as "the-os-o-phy" or "the os o phy." The actual
“the-os-o-phy” (“theo-sophy” is how I’d split it, though) is common for
the soft hyphenation point editing mode of word processors.
--
You are receiving this mail because:
You are on the CC list for the bug.