This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin fails to utilize Unicode replacement character
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 03 Oct 2018 17:24:44 -0700 (PDT)
- Subject: Re: Cygwin fails to utilize Unicode replacement character
- References: <5b8db27e.1c69fb81.e3b47.6cd8@mx.google.com>
On Mon, 03 Sep 2018 15:15:26, Steven Penny wrote:
Expanding on the "Notepad" example, "Notepad" default font is "Lucida
Console", which doesnt have U+FFFD either. However pasting into "Notepad" will
still show U+FFFD properly because "Tahoma" has U+FFFD and "Notepad" can
utilize composite font, while it appears "cmd.exe" and similar cannot.
http://cygwin.com/ml/cygwin/2018-09/msg00060.html
I should correct myself. "cmd.exe" can do this, its called Font Linking:
http://docs.microsoft.com/globalization/input/font-technology
it allows you to pick a "base font", for example "Consolas". Then you can link
another font that has U+FFFD, like "Tahoma". Ideally both fonts would be
monospace, but it seems Windows has no builtin monospace font with U+FFFD.
Then when a missing character is encountered, it will pull from the linked font
if possible.
--
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