#20522 [Opn->Csd]: german+spanish translation: $HTTP_ENCODING instead of $HTTP_ACCEPT_ENCODING
| From: | hholzgra@php.net | Date: | Sat, 25 Jan 2003 19:12:12 +0000 |
| Subject: | #20522 [Opn->Csd]: german+spanish translation: $HTTP_ENCODING instead of $HTTP_ACCEPT_ENCODING | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969351299@lists.php.net to get a copy of this message | ||
ID: 20522
Updated by: hholzgra@php.net
Reported By: pubtom@bigfoot.com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: N/A
PHP Version: 4.2.2
Assigned To: k.schroeder
New Comment:
fixed in CVS
Previous Comments:
------------------------------------------------------------------------
[2002-11-20 12:02:34] pubtom@bigfoot.com
I think there is a mistake in the german translation
http://www.php.net/manual/de/language.variables.predefined.php
and in the file
language.variables.predefined.html
in the german offline/downloadable version (03-11-2002)
"$HTTP_ENCODING
Inhalt des Accept-Encoding:-Headers der aktuellen Anforderung (wenn es
einen gibt). Beispiel: 'gzip'."
I think it should say:
$HTTP_ACCEPT_ENCODING instead of $HTTP_ENCODING
---
On my Apache/1.3.26 with PHP/4.2.2
$HTTP_ENCODING is undefined, i.e. isset($HTTP_ENCODING)==false
whereas
$HTTP_ACCEPT_ENCODING contains the Accept-Encoding Header, e.g. for
Mozilla: "gzip, deflate, compress;q=0.9"
---
The German version
http://www.php.net/manual/de/language.variables.predefined.php
seems to be quite old (or even outdated?) and is very different from
the English version and all other translations (which have the warning
concerning register_globals etc.)
http://www.php.net/manual/en/language.variables.predefined.php
---
I think there is quite a similar error in the spanish translation,
which also is older and different from the English version:
http://www.php.net/manual/es/language.variables.predefined.php
"HTTP_ENCODING
Los contenidos de la cabecera Accept-Encoding: de la petición actual,
si la hay. Por ejemplo: 'gzip'."
I think that there, too, it should say
HTTP_ACCEPT_ENCODING instead of HTTP_ENCODING
---
Kind regards from Switzerland
Thomas Luethi
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20522&edit=1