søn, 07 06 2009 kl. 16:47 +0200, skrev Benjamin Lindner: > There is a bug in dlmwrite in the current io pcakage regaring > text/binary file open mode. > Currently the file is opened in text mode, which implies automatic > LF->CRLF translation under windows. > But the line endings to be used are explicitly specified and determined > by the option "newline". > So if "newline" is set to "pc", "\r\n" will be written to the text file, > which is translated into "\r\r\n", since the file is opened in text mode. > > So the openmode should be binary.
I don't know the first thing about this stuff. Will this have consequences on other platforms? Søren ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
