X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=xwzEzbhADSfD8YjNUr5GdMpQ70SKOOY8YzbORSJp6iV3tn1rv7iCZ g6zDa0oneZfhzB6ZH+AIgfkcY5c8cggVew8qKkAaXGTfwoRYWw7kyNUXL0RBH79Q 9yRiTYgHisn8S9ZfYJuvumcXdpQ4wX2COL6aeiUtvjcSIqYIxblDzA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=nxeSvoRcQG+NhrDPX9ORZcWHXfQ=; b=DEW5baQS6JzmQE3yO+F31XTjb6Sg K7/Qkv66W92NPJb8lbvAcozEICtT3fJGXpah9lmnqOVQrGzM1NOXag47rLgckEeJ lTND6WCjxr6m1ik6S2TPBaH2lW8K7cCs6NwfF3snQ4oGQKns40c//MUUeGmEGidx oNvPw61XcNsOq6U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=10.0, H*c:application, highly X-HELO: drew.franken.de Date: Wed, 26 Jul 2017 11:50:16 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Unicode width data inconsistent/outdated Message-ID: <20170726095016.GA25666@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20170726080859 DOT GA24312 AT calimero DOT vinschen DOT de> <5d3cb047-49f8-26a6-d816-387a71486e99 AT cygwin DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <5d3cb047-49f8-26a6-d816-387a71486e99@cygwin.com> User-Agent: Mutt/1.8.3 (2017-05-23) --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 26 03:16, Yaakov Selkowitz wrote: > On 2017-07-26 03:08, Corinna Vinschen wrote: > > On Jul 26 08:49, Thomas Wolff wrote: > >> It would be good to keep wcwidth/wcswidth in sync with the installed > >> Unicode data version (package unicode-ucd). > >> Currently it seems to be hard-coded (in newlib/libc/string/wcwidth.c); > >> it refers to Unicode 5.0 while installed Unicode data suggest 9.0 would > >> be used. > >> I can provide some scripts to generate the respective tables if desire= d. > >> Thomas > >=20 > > If you can update the newlib files this way and send matching patches > > to the newlib list, this would be highly appreciated. >=20 > Thomas, I just updated unicode-ucd to 10.0 for this purpose. Oh, and, btw, the comment in wcwidth.c isn't quite correct. The cwstate in newlib is on Unicode 5.2, see newlib/libc/ctype/towupper.c. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZeGXYAAoJEPU2Bp2uRE+g3OsP/1E+iJAUSNV28tr40GQKeiox xfQnvPPk9Yh75MMKX8JMrr8n11rkrBr+bEFEMwq96ax+R87EJ4P3mcaDgLBJ3DU3 Voy6EgC7l6gb8m4VjF+xW8m60AkzsD1tXhf+De6IWAsKHTpkwusbUcWknXmKBkqL E4jpj4+f8pcbELJwaI9kZp783k9DBoIMBoUPGiS776+xjMvT2n5Cu4Ibyq1G0HnP rKzX6v8TABihsv8asxMdAB4VV/fMJjxyF6IlxEW6g0sAwUgEgUKW6m/l6HVdaubP uGKhC8pGOIJnINZdR0wk17fxQRW/0GMVBFRSfYaUiVRDJDdhFGRKbRxZWATM4+ty ZGo6nnsByqxiX4NzSaiupImV0sC7KbalGKM02xAt0HQjEJtKXrqVpjVL/8G1SpLx xzQ0h5XfcfBeirscKzdkq1AatkUmcbl9vCu0XdgOXgFxUWxBGYM6PLOqknW9bnYi 7POpVvQnQx+vSeVQKcqHmreCyUvH0o3Ust38O9LByy+jzPcKo4HJiQkLYPVy0yyk lwhumhkyE3knUlrc8hMkyMmx7pDNKtu0132R6mH1L37kiaRorZ4/+qDUeScljVk6 k7kwTNVLfKPbJ3zuw6OBeyE+bgo0w4eYOoq7advCF7abKG9tJQ5ZFWP1EIm0E0vL 8VvhGJGTqm3JyF3X8M8U =tns4 -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--