#44668 [NEW]: Browser defaults site to "zh-Hans,zh-Hant" when accepted.
| From: | connect at btcentral dot org dot uk | Date: | Tue, 08 Apr 2008 07:20:33 +0000 |
| Subject: | #44668 [NEW]: Browser defaults site to "zh-Hans,zh-Hant" when accepted. | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-1474@lists.php.net to get a copy of this message | ||
From: connect at btcentral dot org dot uk
Operating system: Mac OS X, 10.5.2
PHP version: Irrelevant
PHP Bug Type: Website problem
Bug description: Browser defaults site to "zh-Hans,zh-Hant" when accepted.
Description:
------------
When using the Camino Browser, under Mac OS 10.5.2, and browsing the
php.net functions ie. http://www.php.net/preg_match, by
default the
headings are shown in the zh-Hans or zh-Hant language code (Chinese) if
they are part of the browser accepted language string.
Reproduce code:
---------------
Browse the PHP.net functions site, with zh-Hans,zh-Hant as part of the
accepted language string. e.g.
"en-GB,en-US,en,ja,fr,de,es,it,pt,pt-PT,nl,sv,nb,da,fi,ru,pl,ko,zh-Hans,zh-Hant"
Expected result:
----------------
The site to display in the pre-determined language from IP settings, ie.
English (en-GB) in this case.
Actual result:
--------------
The site displays the headings in Chinese. Removing the zh-Hans or zh-Hant
language codes allow the site to default to the correct language - It seems
that these language codes are not recognized correctly by the site, and
therefore it sets it as the default language?
--
Edit bug report at http://bugs.php.net/?id=44668&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44668&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44668&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44668&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44668&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=44668&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44668&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44668&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44668&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44668&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44668&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=44668&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=44668&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44668&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44668&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44668&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44668&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44668&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44668&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44668&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44668&r=mysqlcfg