This is all documented: http://de.php.net/fgetcsv

“Note: Locale setting is taken into account by this function.”

The default locale is usually C, so Octets 0x80–0xff are undefined and
therefore non-printable. Using a UTF-8 locale, your program works as
expected. Just add “setlocale(LC_CTYPE, 'en_GB.UTF-8');” as the first
command (you can use any UTF-8 locale; if en_GB isn’t installed, try
en_US).

-- 
found bug on PHP5
https://bugs.launchpad.net/bugs/255895
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to