delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/09/01/12:13:28

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:message-id:date:from:to:subject:content-type;
q=dns; s=default; b=e5qnOnvYOn759/Q4+9pgdyHt/Gb/KZVVhXAhHiZxm7d
aeShVgE7TY+0U3A24JTlYTyEBcI6QGxBcbScbTCwqEY3Y9BKqQV4PoVI+dA6pMHJ
jo56evJTJh9ZM4dfZZQyu06Kwn4z329nuphH8GT8UhboA3Ankg+X1fjd+CfZ2lF4
=
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:message-id:date:from:to:subject:content-type;
s=default; bh=iaYMVREaRAyjyMneS27a8MOppJU=; b=RB13yjcRMk00/T+IY
bAj/qAET2Kb4fudDaYlbh/UWmvXcYPob4Xbq1A0E2ryUQJVB82nVxmVxG2jmm7u1
VnDGxuhMbXcg/U7WFHPyxG7GY8mSsSCusnNx5MxZCZo+rjNHKOBsJkg+LG06kwKy
v0tHhnSKF90oU8SkEmXz9tH0L0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-0.6 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=shade, H*MI:1c69fb81, H*M:1c69fb81, =ef=bf=bd?=
X-HELO: mail-oi0-f43.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:to:subject:user-agent; bh=Zqzy5p1zrV2gmY7vzn4yk3LKGJkqByskzkXgMvTyCPQ=; b=P02G2vgayBgZa2Xd7WGBXd1MQs8/MHJ/k0m3+5HCaKzlZZ6cjNZHImJ8YqQjLH+4qp XZXTLLnaH4Vc1bKMghmkZIle74dzXElglNFwSa3WqPCYm7t42KLU7uzeBrrJNMkeBxGV 0nHtklkfGIdVQgDCWDG39WRiaqIx19MH6tChTKEUWV0+r3YZzH7RT44M16IDgCZGd3dG h9wDDUvWdaR7XoNvV0NBhhA/Iv0my6z7w5mzD5L6MUmq0F9L5f+LX5hJ+BuHcTqehLLr jPRWUy5OJYCIvhFeIONZWrk+ObP/akcuXn2fzGNdCwnm8a1aBJuDDz8Kyc1PJVPK5bCP NBDg==
Message-ID: <5b8aba97.1c69fb81.96f14.1b37@mx.google.com>
Date: Sat, 01 Sep 2018 09:13:11 -0700 (PDT)
From: Steven Penny <svnpenn AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Cygwin fails to utilize Unicode replacement character
User-Agent: Tryst/2.8.0 (cup.github.io/tryst)

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).


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019