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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=bMXckLjF+56neiOd6vIKZrSV9av/kpdBYDw2rlqVGuESVadFghOR5 /2brQR7GmLR4jPeRgusQNzcQMSnhPAEO+eWsl7NYgnb5OjhW7VE0VryOvkLSjlF0 blxT4GF7m6rJMfeAnrW500cz1vA5hYDd0uvm1JLojbPWnHRYVq0jvE= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=6DWOKOjPxh9xDqQBKhVdOZbyy5Y=; b=xYG+iZy77Ksdv1isCDfTW1jikfKD qFymkqSDHVJ5zzGWB29a8We/A2K4zkbpfbqtJVqMOgiwr+URIEklFVd4l5DwgWK8 RKVgFV/hE6J4dZhavguh43k6SLvYBzEFu9/mXE7U7vQS8eN3/fI8X6E+klfvQeuf siNAw7HTp6JUA4o= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: No, score=-99.5 required=5.0 tests=AWL,BAYES_20,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=configurable, utilize, visual, enforces X-HELO: mout.kundenserver.de Date: Mon, 3 Sep 2018 14:46:16 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Cygwin fails to utilize Unicode replacement character Message-ID: <20180903124616.GT6350@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <7942b18e-96bf-a824-4dac-82715d87af55 AT towo DOT net> <5b8bdcc4 DOT 1c69fb81 DOT 84d1a DOT e6b9 AT mx DOT google DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+epxrXWOh++2HLjY" Content-Disposition: inline In-Reply-To: <5b8bdcc4.1c69fb81.84d1a.e6b9@mx.google.com> User-Agent: Mutt/1.9.2 (2017-12-15) --+epxrXWOh++2HLjY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sep 2 05:51, Steven Penny wrote: > On Sun, 2 Sep 2018 10:07:10, Thomas Wolff wrote: > > Actually, the width problem I suggested in my other response (and even > > referring to the wrong character) does not apply as mintty enforces > > proper width in that case. > > Also, even with fonts that do not provide the glyph, you will usually > > still see it by the Windows font fallback mechanism. > > Shall I make it configurable? >=20 > your call - here are the possible resolutions - in order of my preference: >=20 > 1. Change the default to U+FFFD with no option > 2. Change the default to U+FFFD with option to change > 3. Leave default as is with option to change Ideally we could check if the current font supports a visual representation of 0xfffd and if not, fall back to 0x2592. Not sure how feasible that is, but it doesn't seem to be overly complicated. I'm just looking into a solution for the Cygwin console. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --+epxrXWOh++2HLjY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAluNLRgACgkQ9TYGna5E T6CbnQ//dMok7D+1yDgxD/MbjnDMJv0bS5iJbX3Tt8aO2rTQHEyO6Dc5qSyqIPOp 9JNe8VXUu7ffD/CK/YCvXxLYQPlr0eiYN2Qd8ptCSZ3WEstHjDbaytVOYzONeLDD W77JALY25F0mjXxkkPcB/W8RYR6ntjejkWyTJxMQbaYvI0VHqIoUvyjUrCoSXOee Yqokppo66J5UCfuJ8FblWWYA97+EZUWOvaqEL7NWil2eS8OywFtV8/LTYsz/n44h yUSV8D6Hk5vhjss/bmAfLXAR6EU/MGw9Eqiz2Hngsq6av1PXWUMp7OzJUDdsTPM9 0tGbUQ4gBjPL8RhIibfLCnZVZ1J5CFPBjXeRMcjiB931fj3nmqUQeKgLVd77t2Ee cPqDEpNIPPJPxHV4qpR/4H2ytu1uJu524kI3/fRXsy9pGO4MDn97ZJ6hbNZjcmmR wk83uFk3dJpwmUqw3ueuWJG0QBGmvLWUZQAPGNBrXeBFTUkMaTsuA0tqGrm/npW3 03eFpgWVfLcD0QeyT5gkUyqN0C6XwoPMkf00vsplAKEwiZ5xrVff76CZZ9pcHBYq UI3dA3GqmEY2gsmRWUjIVvBaHJFqRN0rau8iSr4kI6xCXaYLiNk45Iqc/NO+CJ+t xc+7zMiU4MwOVYn0gXwfu1qstJyVVbYXioV5sva4VX1slhZBLP0= =bjWY -----END PGP SIGNATURE----- --+epxrXWOh++2HLjY--