This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #24 from Mike FABIAN <maiku.fabian at gmail dot com> ---
(In reply to Thorsten Glaser from comment #23)
> > Nope. SHY-aware apps by definition never send SHY to the terminal, they either send a regu
> > lar hyphen U+2D or nothing at all, that's what makes them SHY-aware. (Especially since in
> > several fonts the glyph of SHY is empty, it looks like a space.) If an app ever sends a SH
> > Y to the terminal emulator, it is SHY-unaware.
> >
> > Hence for SHY-aware apps, wcwidth() of SHY is irrelevant.
> 
> OK, granted, if that is the sense, you are, of course, correct.
> (But that also means that, if it’s irrelevant for them, which,
> again, if they send U+002D to the terminal instead, it is, then
> all the more reason to stick to 1.)

Yes,that is really a good reason to stick to 1.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]