[Bug 255895] Re: found bug on PHP5
Marc A. Donges
kosh at hadiko.de
Fri Aug 8 11:10:17 BST 2008
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
Server Team, which is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list