From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42664 invoked by alias); 1 Sep 2018 19:40:10 -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 42653 invoked by uid 89); 1 Sep 2018 19:40:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-101.2 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy= X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 01 Sep 2018 19:40:08 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.167]) with ESMTPSA (Nemesis) id 0M48SR-1fe6dR06RX-00rnYU for ; Sat, 01 Sep 2018 21:40:06 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 21E09A80919; Sat, 1 Sep 2018 21:40:05 +0200 (CEST) Date: Sat, 01 Sep 2018 19:40:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Cygwin fails to utilize Unicode replacement character Message-ID: <20180901194005.GO6350@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <5b8aba97.1c69fb81.96f14.1b37@mx.google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BZziOT8Kz25R/m/E" Content-Disposition: inline In-Reply-To: <5b8aba97.1c69fb81.96f14.1b37@mx.google.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SW-Source: 2018-09/txt/msg00022.txt.bz2 --BZziOT8Kz25R/m/E Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 714 On Sep 1 09:13, Steven Penny wrote: > Using this file: >=20 > $ printf '\353\n' > alfa.txt >=20 > $ iconv -f CP1252 alfa.txt > =C3=AB >=20 > You get this result with Linux: >=20 > $ cat alfa.txt > =EF=BF=BD >=20 > Where "cat" properly outputs Unicode 'REPLACEMENT CHARACTER' (U+FFFD). Ho= wever > with Cygwin you get this: >=20 > $ cat alfa.txt > =E2=96=92 >=20 > Where "cat" outputs Unicode Character 'MEDIUM SHADE' (U+2592). I changed it in Cygwin for the console window. For mintty this would have to be changed in mintty itself. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --BZziOT8Kz25R/m/E Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAluK6xQACgkQ9TYGna5E T6CRbg/9GcFeANDWPC/vzaflAtvotna6sOTNCUi57xhzt8T7eNfv8yVZZ7QZ6L6C tky6WGBkBQDq0qQtTYu/N32LLSxuBt+FsyLmG6iXpr2sTwVRkoeFZdJN/Qb1FTrZ PSbeN7w6iRnXyaGwq6VmUOvzG9pu8FHt6sAnNMwiVoh4gFqGb020WMg9s7B3u/aQ 4YW+swIQHWzbUb7roB782j07IKx1osYAwSeTzHfk10ak2tyxiplSV5y/NWVpj/pe uz5k08ZB864dSWeD3iLFhJ61aT8gSwweLTz60InX11Y1usQqD0+mHKShbEJMAoNT wpED/ztBXesIODJ9GXu3g2+UV87KzF+KW0Q+QRwGshmhOsBwYDwXypsM0wbYNJrk SlMCk/5iMEE3xZjqK4q2KbhRjm6LRyvG2GNk6boaAQv2SyitCi+z0VSzhpleD607 Zh8sqcwDDAIP9VHBesvMhLPlHa/rpgeS9oZjAnJCqwyMTOwkog3A1SKXLg4HGrGk tZMjdC0K2PlzD9pphD7de76VJGRbFQo+/5rMSL2EKYA9Y01oyEAEA6QMxeN/LrgC S2zchRTtsG/ArrHu0KMKp+pza1HGxmqd5iaymEgJGrrA4xljNpl3cBYHMJwfPWYS /hOJ9ct6KOIUD1tjmBMUBgzJoO+FAHySKcgynKagl/70q05TQzM= =n87A -----END PGP SIGNATURE----- --BZziOT8Kz25R/m/E--