diff --git a/ChangeLog.txt b/ChangeLog.txt index e6e7564..b8deb57 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,16 @@ +parseCSV 0.3.1 +----------------------------------- +Date: 1-Sep-2007 + +- Small change to default output settings to + conform with RFC 4180 (http://rfc.net/rfc4180.html). + Only the LF (line feed) character was used + by default to separate rows, rather than + CRLF (carriage return & line feed). + +----------------------------------- + + parseCSV 0.3.0 ----------------------------------- Date: 9-Aug-2007 diff --git a/parsecsv.lib.php b/parsecsv.lib.php index d061bcc..ebde217 100644 --- a/parsecsv.lib.php +++ b/parsecsv.lib.php @@ -4,7 +4,7 @@ class parseCSV { /* - Class: parseCSV v0.3.0 + Class: parseCSV v0.3.1 http://code.google.com/p/parsecsv-for-php/ @@ -123,7 +123,7 @@ class parseCSV { var $output_encoding = 'ISO-8859-1'; # used by unparse(), save(), and output() functions - var $linefeed = "\n"; + var $linefeed = "\r\n"; # only used by output() function var $output_delimiter = ',';