Cygwin fails to utilize Unicode replacement character
Corinna Vinschen
corinna-cygwin@cygwin.com
Sat Sep 1 19:40:00 GMT 2018
On Sep 1 09:13, Steven Penny wrote:
> 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).
I changed it in Cygwin for the console window. For mintty this would
have to be changed in mintty itself.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20180901/f63f84e2/attachment.sig>
More information about the Cygwin
mailing list