From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D93683858D3C; Wed, 14 Feb 2024 20:47:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D93683858D3C 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=egScHdsDBNSt/STqGjzgaYeYfSaaUquFMh43mhKjQF2P1fy/pTo+VORIamnE4oE25 1SHwo1x7gyEWQEaJ/9Zr7X5+5dWnTkGVU6S3SyVpgW0n5ojzI83+TJhymI5c4fe9RL R7bU1eQNx+cbVRYuDKrLOzXss4E93kCJiDj7fCwE= From: "julesbertholet at quoi dot xyz" To: libc-locales@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.=