vrana Fri Feb 4 05:25:59 2005 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions fgetcsv.xml
Log:
Locale sensitive (bug #31740)
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/fgetcsv.xml?r1=1.16&r2=1.17&ty=u
Index: phpdoc/en/reference/filesystem/functions/fgetcsv.xml
diff -u phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.16
phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.17
--- phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.16 Mon Sep 27
11:24:05 2004
+++ phpdoc/en/reference/filesystem/functions/fgetcsv.xml Fri Feb 4
05:25:59 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
+<!-- $Revision: 1.17 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.fgetcsv">
<refnamediv>
@@ -97,6 +97,13 @@
<para>
<function>fgetcsv</function> has been binary safe since PHP 4.3.5
</para>
+ <note>
+ <simpara>
+ Locale setting is taken into account by this function. If
+ <varname>LANG</varname> is e.g. <literal>en_US.UTF-8</literal>, files in
+ one-byte encoding are read wrong by this function.
+ </simpara>
+ </note>
¬e.line-endings;
<para>
See also <function>explode</function>, <function>file</function>,