Cygwin fails to utilize Unicode replacement character

Steven Penny svnpenn@gmail.com
Sat Sep 1 16:13:00 GMT 2018


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


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



More information about the Cygwin mailing list