Web lists-archives.com

Cygwin fails to utilize Unicode replacement character




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