cvs: peardoc /en/core http.xml
| From: | Martin Jansen | Date: | Mon, 11 Feb 2002 13:08:10 +0000 |
| Subject: | cvs: peardoc /en/core http.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2387@lists.php.net to get a copy of this message | ||
mj Mon Feb 11 08:08:10 2002 EDT
Modified files:
/peardoc/en/core http.xml
Log:
* Fix bug #15423.
Index: peardoc/en/core/http.xml
diff -u peardoc/en/core/http.xml:1.3 peardoc/en/core/http.xml:1.4
--- peardoc/en/core/http.xml:1.3 Sun Feb 10 17:49:41 2002
+++ peardoc/en/core/http.xml Mon Feb 11 08:08:10 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<reference id="http">
<title>HTTP functions</title>
@@ -55,10 +55,10 @@
Negotiate language with the user's browser through the
Accept-Language HTTP header or the user's host address.
Language codes are generally in the form "ll" for a language
- spoken in only one country, or "ll_CC" for a language spoken in
- a particular country. For example, U.S. English is "en_US",
- while British English is "en_UK". Portugese as spoken in
- Portugal is "pt_PT", while Brazilian Portugese is "pt_BR".
+ spoken in only one country, or "ll-CC" for a language spoken in
+ a particular country. For example, U.S. English is "en-US",
+ while British English is "en-UK". Portugese as spoken in
+ Portugal is "pt-PT", while Brazilian Portugese is "pt-BR".
Two-letter country codes can be found in the ISO 3166 standard.
</para>
<para>
@@ -67,7 +67,7 @@
</para>
<para>
<programlisting>
- Accept-Language: en_UK;q=0.7, en_US;q=0.6, no;q=1.0, dk;q=0.8
+ Accept-Language: en-UK;q=0.7, en-US;q=0.6, no;q=1.0, dk;q=0.8
</programlisting>
</para>
<para>
@@ -79,7 +79,7 @@
The second parameter <parameter>default</parameter> is the
default language that should be used when if none of the
other languages is found during negotiation. The default
- value for this parameter is "en_US" for U.S. English.
+ value for this parameter is "en-US" for U.S. English.
</para>
</refsect1>