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:message-id:date:from:subject:to:references
	:content-type; q=dns; s=default; b=e+sCzej7knAEAmYn7PyPlSOCT2UsI
	BNXPcf6gLh7qD88vBfpuHzhgRn136nh2nMZ2nlq47hYfdQ8WoiF5P53yZrSSSRYV
	wxEHamqE53E+CZQjFx455XjEu2/zSWO6wp/11brJv5RsMe90aNXfb8z2d2WqXfSU
	Bnr0Iz3hCAnT90=
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:subject:to:references
	:content-type; s=default; bh=SIRgoaWWfWMrSvqYFLyLof5f9bo=; b=CRg
	+kq+PxnegZLK0KhxC78PqUjxxOQMfAuZ7gOn3CkBcR5YzNaa0LzoOVw3SeTIpOdm
	/oe5qYthbqSIispbddR6WlTNqH4QRg0ymOm3ev+zuu2TAA5axt83t+Ge/o+KAuDp
	fXY2FCSzBpRz7z5XaclyOdEeqLxW3kwX5BNT0ZSw=
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: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=dangerous, enquire, availability, vote
X-HELO: mail-oi0-f47.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=message-id:date:from:subject:to:references:user-agent;        bh=DHthP8wgLVvqvQGB+37Ic4NB4KsoHjYnr/xzQduEKiU=;        b=M0qt7J0agQGCLr9RfQiuJ7z6uhYv808TNeR/A10pSTm3Jo8ZSoNrlsp5xMaclaws2j         VXrEw9Z4bmCZjx5AfF5cvYP78BiedMS6QmOMbIfQN+N0GShSXbbueppYHPBb2vVaEzBu         XwTEzUu/YAkBW4sT7T5ZebFvs5TcDwYVW+MopaCHpOsYaMLG1QCc8g94szWK5CKDTsyZ         D0ANeZbkO2hon6MSpfrF84pOEgnhIAWGOtO/YJtEtDysrQ4AK3BqHeypRVxlNNvR685M         jHvKEJUrXWvMMRVsk8LdbVaxK8eQZ05bYWOY+j6tK/ma3K35RPyIbf74d7CQn9IrbphE         GmEA==
Message-ID: <5b8eccee.1c69fb81.12eaa.84a2@mx.google.com>
Date: Tue, 04 Sep 2018 11:20:30 -0700 (PDT)
From: Steven Penny <svnpenn@gmail.com>
Subject: Re: Cygwin fails to utilize Unicode replacement character
To: cygwin@cygwin.com
References: <e05669ed-c05b-684c-10b1-7af2a12657ae@towo.net>
Content-Type: text/plain; charset=utf8; format=flowed
User-Agent: Tryst/2.8.0 (cup.github.io/tryst)

On Tue, 4 Sep 2018 16:18:21, Thomas Wolff wrote:
> My vote is against the patch because the nodef glyph will often be just 
> blank space which is certainly worse than ▒.
> If conhost does not provide a reasonable way to enquire 0xFFFD 
> availability it's conhost's fault, not cygwin's so why should cygwin 
> implement a bad compromise. If conhost ever improves, cygwin can adapt.

This is some dangerous commentary. I would like to counter it now with some
actual research. Using BabelMap:

http://babelstone.co.uk/Software/BabelMap.html

You can do "Fonts", "Font Coverage" and you will get this result with code point
FFFD:

    yes: DejaVu Sans Mono

    no:
    - Consolas
    - Courier New
    - Lucida Console
    - MS Gothic
    - NSimSun
    - SimSun-ExtB

This is concerning true, but we can then review the ".notdef glyph" for the
problem fonts. As this glyph is not an actual character, i cant paste it here,
but i will describe them below:


    empty rectangle:
    - Courier New
    - Lucida Console
    - MS Gothic
    - SimSun-ExtB

    rectangle with a question mark inside: Consolas

    none: NSimSun

Note that I did not include "Raster Fonts", as it doesnt even allow multibyte
characters:

    $ printf '\xC2\xA1\n'
    sh: printf: write error: Permission denied


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

