[perl #88674] \n should be 0x0d 0x0a on win32

2015-11-05 Thread jn...@jnthn.net via RT
On Fri Apr 15 12:06:47 2011, patrickas wrote: > On windows 7 and vista using "\n" does not produce \r\n > > The following > > my $file = open('foo.txt', :w); > $file.say("a\nb"); > $file.close; > > produces a file containing the bytes > > 61 0a 62 0a > > The expected bytes are > > 61 0d 0a

Re: [perl #88674] \n should be 0x0d 0x0a on win32

2015-10-09 Thread WFB
hmm. \r\n is not a Perl5 compatibility issue. WIndows uses \r\n by default while \r is used on Linux and Mac. So, you have to convince Microsoft to change WIndows behavour not Perl :-) greetings wolf On 8 October 2015 at 17:49, Yasuhiro Matsumoto via RT < perl6-bugs-follo...@perl.org> wrote: >

[perl #88674] \n should be 0x0d 0x0a on win32

2011-04-16 Thread via RT
# New Ticket Created by Patrick Abi Salloum # Please include the string: [perl #88674] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=88674 On windows 7 and vista using \n does not produce \r\n The following my