CVS update: php3/doc/functions

From: Date: Tue, 27 Oct 1998 23:00:23 +0000
Subject: CVS update: php3/doc/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-2050@lists.php.net to get a copy of this message
Date: Tuesday October 27, 1998 @ 18:00 Author: ssb Update of /repository/php3/doc/functions In directory asf:/u2/tmp/cvs-serv12350 Modified Files: xml.sgml Log Message: Documented XML character encoding. Index: php3/doc/functions/xml.sgml diff -c php3/doc/functions/xml.sgml:1.11 php3/doc/functions/xml.sgml:1.12 *** php3/doc/functions/xml.sgml:1.11 Tue Oct 27 15:26:11 1998 --- php3/doc/functions/xml.sgml Tue Oct 27 18:00:20 1998 *************** *** 192,199 **** </simplelist> </para> </sect2> </sect1> - <sect1 id="xml.examples"> <title>Some Examples</title> <para> --- 192,219 ---- </simplelist> </para> </sect2> + <sect2 id="xml.encoding"> + <title>Character Encoding</title> + <para> + Each XML parser can be created for a given <glossterm>character + encoding</glossterm>. Currently, the supported encodings are + ISO-8859-1, US-ASCII and UTF-8. The former two are single-byte + encodings, which means that each character is represented by a + single byte. UTF-8 can encode characters composed by a + variable number of bits (max 21) in one to four bytes. The + default encoding used by PHP is ISO-8859-1. + <note> + <para> + The character encoding given to + <function>xml_parser_create</function> is only used on the + parsed XML documents. All string passed to handler functions + has been decoded to single bytes, and characters with values + that can not be represented by a singly byte have been + replaced by question marks. + </para> + </note> + </sect2> </sect1> <sect1 id="xml.examples"> <title>Some Examples</title> <para> -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2050) next »