On Tue, Mar 25, 2014 at 4:08 AM, Craig A. Berry <craig.a.berry@gmail.com>wrote: > > As for the CRLF issue, perlbug should probably detect whether :crlf is > > a default layer and handle it appropriately. > > Does the :crlf layer even work with Unicode? Some people seem to > think it doesn't (e.g., > < > http://stackoverflow.com/questions/3320189/crlf-translation-with-unicode-in-perl > >) > but I don't know enough to evaluate. If it can be made to work so > that Unicode handling is not lost, I'm ok with supporting CRLF line > endings, but it's really a bug in Notepad and not in Perl Yes, it does since 5.14. Older releases have a serious bug where :raw:encoding:crlf could mean :crlf:encoding, which will give garbage on encodings like UTF-16. LeonThread Previous | Thread Next