 |
Forums |
Admin Start New Thread
By: James Gray
RE: Can't parse csv file [ reply ] 2007-12-15 01:30
|
Stefan has it right.
FasterCSV uses regular expressions to do the parsing where CSV just compares characters. This can lead to differences in their parsing results.
The best strategy for FasterCSV is usually to make sure you are feeding it UTF-8 encoded data and then set the encoding for your program:
$KCODE = "U"
If you need to programmatically convert the encoding, see the standard iconv library.
James Edward Gray II
|
|
 |