Goodby CSV is a high memory efficient flexible and extendable open-source CSV import/export library for PHP 5.3. 1. Memory Management Free This library designed for memory unbreakable. It will not be accumulated in the memory whole rows. The importer read CSV file and execute callback function line by line. 2. Multibyte support This library supports mulitbyte input/output: for example, SJIS-win, EUC-JP and UTF-8. 3. Ready to Use for Enterprise Applications Goodby CSV is fully unit-tested. The library is stable and ready to be used in large projects like enterprise applications.
I'm getting a PHP Warning from
csv/src/Goodby/CSV/Import/Standard/Lexer.php
line 60:I wrote a little test script to see what's getting passed to
setlocale()
:This outputs:
From
ext/standard/string.c
in the PHP source, I see:It appears this would be correct:
But that's not portable... maybe we can parse
$originalLocale
and pass in an array tosetlocale()
?PHP version:
Operating system: up-to-date CentOS release 6.4 (Final)
See also: http://stackoverflow.com/questions/16110866/why-do-i-get-this-php-warning-setlocale-specified-locale-name-is-too-long