On Thu, 02 Apr 2015 13:12:13 +0000, Jens Bauer wrote: > On Thursday, 2 April 2015 at 11:55:09 UTC, ketmar wrote: >> so your suggestion actually *introduces* the bug in DMD. > > Nope, not if implemented correctly.
currently it's implemented correctly. > 0x0a should be handled, 0x0d should be handled and 0x0d0a should be > handled. for what reason? as you wrote, that platform is not ASCII-compatible, so text files need to be converted from ASCII to host encoding. > Flles received from a DOS or DOS-like system would then have incorrect > line numbers reported. 'cause they aren't in host encoding.
signature.asc
Description: PGP signature
