This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Cygwin fails to utilize Unicode replacement character
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 01 Sep 2018 09:13:11 -0700 (PDT)
- Subject: 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