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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 4 07:28:17 PDT 2014


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yebblies at gmail.com
           Platform|x86                         |All
         Resolution|                            |INVALID


--- Comment #1 from yebblies <yebblies at gmail.com> 2014-04-05 01:28:10 EST ---
stdout is opened in text mode, so it converts all \n to \r\n giving \r\n\n

Everything is working as designed, as terrible as that design might be.

-- 
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