#20522 [NEW]: german+spanish translation: $HTTP_ENCODING instead of $HTTP_ACCEPT_ENCODING
| From: | pubtom at bigfoot dot com | Date: | Wed, 20 Nov 2002 18:02:34 +0000 |
| Subject: | #20522 [NEW]: german+spanish translation: $HTTP_ENCODING instead of $HTTP_ACCEPT_ENCODING | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969349844@lists.php.net to get a copy of this message | ||
From: pubtom@bigfoot.com
Operating system: N/A
PHP version: 4.2.2
PHP Bug Type: Documentation problem
Bug description: german+spanish translation: $HTTP_ENCODING instead of $HTTP_ACCEPT_ENCODING
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 bug report at http://bugs.php.net/?id=20522&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20522&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20522&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20522&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20522&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20522&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20522&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20522&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20522&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20522&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20522&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20522&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20522&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20522&r=isapi