From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42310 invoked by alias); 1 Sep 2018 18:11:18 -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 42291 invoked by uid 89); 1 Sep 2018 18:11:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=1.4 required=5.0 tests=AWL,BAYES_05,FOREIGN_BODY,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=Viren, viren, geprft, gepr=c3=bcft?= X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.17.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 01 Sep 2018 18:11:16 +0000 Received: from [192.168.178.24] ([95.91.209.148]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.183]) with ESMTPSA (Nemesis) id 0M6DoA-1fg067443m-00yBrv for ; Sat, 01 Sep 2018 20:11:14 +0200 Subject: Re: Cygwin fails to utilize Unicode replacement character To: cygwin@cygwin.com References: <5b8aba97.1c69fb81.96f14.1b37@mx.google.com> From: Thomas Wolff Message-ID: Date: Sat, 01 Sep 2018 18:11:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <5b8aba97.1c69fb81.96f14.1b37@mx.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg00016.txt.bz2 Am 01.09.2018 um 18:13 schrieb Steven Penny: > Using this file: > >    $ printf '\353\n' > alfa.txt > >    $ iconv -f CP1252 alfa.txt >    ë > > You get this result with Linux: > >    $ cat alfa.txt >    � > > Where "cat" properly outputs Unicode 'REPLACEMENT CHARACTER' (U+FFFD). > However > with Cygwin you get this: > >    $ cat alfa.txt >    ▒ > > Where "cat" outputs Unicode Character 'MEDIUM SHADE' (U+2592). Which terminals are used and what's the output of `locale` and `cat --version` in both cases? --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple