Cygwin fails to utilize Unicode replacement character
Thomas Wolff
towo@towo.net
Sat Sep 1 18:11:00 GMT 2018
Am 01.09.2018 um 18:13 schrieb Steven Penny:
> 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).
Which terminals are used and what's the output of `locale` and `cat
--version` in both cases?
---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
--
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