#22644 [Opn->Fbk]: language specific content-encoding
| From: | goba@php.net | Date: | Wed, 12 Mar 2003 08:24:41 +0000 |
| Subject: | #22644 [Opn->Fbk]: language specific content-encoding | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-16258@lists.php.net to get a copy of this message | ||
ID: 22644
Updated by: goba@php.net
-Summary: Language preference trouble
Reported By: ulysses at mail dot fitan dot com dot tw
-Status: Open
+Status: Feedback
Bug Type: Website problem
Operating System: MacOS
PHP Version: 4.3.1
New Comment:
The CSS file and the accept language setting is not connected. You said
it's a nice feature to have the accept language honored, so you don't
have a problem with it. So I renamed the bug :)
We do print out language specific Content-Type headers.
See http://www.php.net/source.php?url=/include/shared-manual.inc
for
yourself (look for the sendManualHeaders function). I can check this by
visiting http://php.net/zh/echo (which is the Chinese echo
page), and I
got a notice that I don't have that charset installed.
We do have a problem with the CSS files, which does seem to be
overriden by browsers, as different charsets require different
fonts...
You asked us to specify the charset *or* langauge dependent CSS files.
We do the first. Then what is the problem?
Previous Comments:
------------------------------------------------------------------------
[2003-03-11 20:17:17] ulysses at mail dot fitan dot com dot tw
php.net now recept ACCEPT_LANG parameter and display
specified language keywords. That's a nice feature. But you
also specified all font-family in style.css as Verdana.
That's not good. Verdana is a font with Western language
character set. If you do not specify content-type=text/html
with charset setting to correct character set (big5,
gb2312, shift-jis...), users who use Chinese (zh, zh-TW) or
Japaness (ja) as the top of accept-languages will not be
able to view the contents with some browsers. Please add
charset, or please use language-specified CSS file.
BTW, I'm reporting PHP.net website problem, this bug
reporting should not ask me for PHP version.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22644&edit=1