|
|
||
|
On Feb 20, 2014, at 21:03 , Dirk Laurie wrote:
lines operates on streams, which on most platforms these days only operate in binary mode anyway.
My popular system Linux -running most internet servers and such you know- does not know about text files and treads all bytes equally. So do all the BSD, Mac OS X and whatnot.
Is there an official standard for this?
Actually the C standard library of all platforms, including Windows, works just fine. I just want everything the C library returned in the string. And I did not complain, I proposed working patches to do so. The next time you parse a text file which accidental has a \0 somewhere you probably want this bug fix, too ;-) Especially after you spend hours to figure out what is going on, … -- ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin http://exactcode.com | http://exactscan.com | http://ocrkit.com | http://t2-project.org | http://rene.rebe.de |