This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales 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 #7 from Thorsten Glaser <tg at mirbsd dot de> ---
(In reply to Mike Frysinger from comment #5)

> i think that answers the question here: in our UTF-8 charmaps, we should
> mark U+00AD as 0, but in our ISO 8859-1 (and other applicable legacy)
> charmaps, we should mark it as 1.

That could get ugly, assume you have an application displaying latin1 data on a
UTF-8 terminal (GNU screen comes to mind, or luit from XFree86®). Those map
0xAD to U+00AD not U+002D…

Given that mfabian as localedata maintainer of sorts has already accepted the
change, does it really still be needed to be discussed? (The copyright form
arrived last night btw, I’m sending it back to the FSF ASAP.)

-- 
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]