diff --git a/parsecsv.lib.php b/parsecsv.lib.php index 7c9012d..7b1ff8a 100644 --- a/parsecsv.lib.php +++ b/parsecsv.lib.php @@ -560,7 +560,14 @@ class parseCSV { } /** - * Parse CSV strings to arrays + * Parse CSV strings to arrays. If you need BOM detection or character + * encoding conversion, please call load_data() first, followed by a call to + * parse_string() with no parameters. + * + * To detect field separators, please use auto() instead. + * + * Also, while load_data() can handle a lacking new-line char at the end of + * the string, this function cannot. * * @param string $data CSV data *