Web lists-archives.com

Re: Cygwin fails to utilize Unicode replacement character




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

Attachment: signature.asc
Description: PGP signature