From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58973 invoked by alias); 26 Jul 2017 09:50:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 58430 invoked by uid 89); 26 Jul 2017 09:50:20 -0000 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 Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 26 Jul 2017 09:50:19 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id 17F55721E282F for ; Wed, 26 Jul 2017 11:50:17 +0200 (CEST) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id 589F75E038B for ; Wed, 26 Jul 2017 11:50:16 +0200 (CEST) Received: by calimero.vinschen.de (Postfix, from userid 500) id 3CF35A8053A; Wed, 26 Jul 2017 11:50:16 +0200 (CEST) Date: Wed, 26 Jul 2017 17:06:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Unicode width data inconsistent/outdated Message-ID: <20170726095016.GA25666@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20170726080859.GA24312@calimero.vinschen.de> <5d3cb047-49f8-26a6-d816-387a71486e99@cygwin.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) X-SW-Source: 2017-07/txt/msg00374.txt.bz2 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1012 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" Content-length: 819 -----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--