[Issue 12493] std.file.readText doesn't convert Windows newlines correctly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 4 08:40:24 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12493


Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com


--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-04-04 18:40:16 EEST ---
I can't reproduce this issue on my machine.

> stdout is opened in text mode, so it converts all \n to \r\n giving \r\n\n

I thought text mode converted both DOS and UNIX newlines to OS newlines, so it
shouldn't double-convert?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list