nicobn Sat Aug 18 18:18:02 2007 UTC
Modified files:
/phpdoc/en/reference/filesystem/functions file-put-contents.xml
Log:
Default encoding can also be changed with stream_default_encoding
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/file-put-contents.xml?r1=1.19&r2=1.20&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/file-put-contents.xml
diff -u phpdoc/en/reference/filesystem/functions/file-put-contents.xml:1.19
phpdoc/en/reference/filesystem/functions/file-put-contents.xml:1.20
--- phpdoc/en/reference/filesystem/functions/file-put-contents.xml:1.19 Sat Aug
18 15:13:16 2007
+++ phpdoc/en/reference/filesystem/functions/file-put-contents.xml Sat Aug
18 18:18:02 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.19 $ -->
+<!-- $Revision: 1.20 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.file-put-contents">
<refnamediv>
<refname>file_put_contents</refname>
@@ -111,12 +111,12 @@
</entry>
<entry>
<parameter>data</parameter> is written in text mode. If unicode
- semantics are enabled, the default encoding is UTF-8.
- You can specify a different encoding by creating a custom context.
- This flag cannot be used with <constant>FILE_BINARY</constant>.
- If <parameter>data</parameter> is UTF-8 and the
- <constant>FILE_TEXT</constant> flag is not set, a warning will be
- issued. This flag is only available since PHP 6.
+ semantics are enabled, the default encoding is UTF-8.
+ You can specify a different encoding by creating a custom context
+ or by using the <function>stream_default_encoding</function> to
+ change the dafault. This flag cannot be used with
+ <constant>FILE_BINARY</constant>. This flag is only available since
+ PHP 6.
</entry>
</row>
<row>