From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB90E385840E; Wed, 14 Feb 2024 20:47:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB90E385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1707943672; bh=HMTT7qet/CHNi1QcK6+mNgBjEcU4T/zX+B4YDELHZw0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ad8uXFBR2An6ZAUUBIMFE/KQvsgQkM2sDQNhCeTJIRRnXf77hGr7Os4NbdhCl+i7h ZHjGhtxiLN4F0bFy8Y5bo67pFT7UMuKOTNVLXL+wqnpoFjS+41b/GNCsqzHYQYC0tK GDSQhizfBFJINxQ0S85HSAbtkp0uqogN/cmx954Y= From: "julesbertholet at quoi dot xyz" To: glibc-bugs@sourceware.org Subject: [Bug localedata/31370] wcwidth() does not treat DEFAULT_IGNORABLE_CODE_POINTs as zero-width Date: Wed, 14 Feb 2024 20:47:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.40 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: julesbertholet at quoi dot xyz X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31370 --- Comment #5 from Jules Bertholet --- > What do the libicu APIs return for these characters? They don't. Unicode does not in general have a concept of how many "cells" a character should take up in a terminal or with a fixed-width font. Some characters are specified to be 0-width/non-advancing, and there is also a limited concept of "East Asian Wide" defined by UTR 11 . But the displayed width of many characters depends on the context, surrounding characters, the particular f= ont, etc. `wcwidth()See for some more background. --=20 You are receiving this mail because: You are on the CC list for the bug.=