X-Recipient: archive-cygwin@delorie.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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=jb7vLDJSe/n6rCTj
	WZL+R/TfughaFSlr9EXVp43CIQDBOMB6+pB0TVZGrB7IY0Zycac7WF5JoZ2Pt0M3
	QP3Jsr5qtXSBYGyCHFXSH5BVacCxLOgrx9wT9bZ2FEJWmGqq0AzfjU9x8HW9vWri
	9zD93xlOWHZgKfJqltlxctj7POw=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=ct/XjoXBDGaRPJlUIUt1gc
	x+1/c=; b=FRkdkztP0gvek3jQ9MYSi7gjgvBOVUl23xvWb00POyqQ0urW6n1c00
	TQFJUdcGKvXaqM3/oA9TepI/n2zOmksrcNpi6lSwavAHjWVcNRbeM4WO4EXjdSVU
	J4tlVbmj+P77H9fiYURAoCoveVB4VPSHJIaABy2BwEmtWZ9GQPxEo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
Subject: Re: Cygwin fails to utilize Unicode replacement character
To: cygwin@cygwin.com
References: <5b8aba97.1c69fb81.96f14.1b37@mx.google.com>
From: Thomas Wolff <towo@towo.net>
Message-ID: <b2d0bb2d-94a7-400e-1b4a-eb9dd9e8d101@towo.net>
Date: Sat, 1 Sep 2018 20:11:15 +0200
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

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

