Re: UTF-8 problem with Apache
| From: | Ian Eure | Date: | Tue, 07 Sep 2004 09:26:20 +0000 |
| Subject: | Re: UTF-8 problem with Apache | ||
| References: | 1 2 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-762@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
> Which content-type is being sent?
>
One of:
application/xhtml+xml; charset=utf-8
or
text/html; charset=utf-8
Depending on whether the user-agent supports XHTML or not, and is sent with
Header().
This seems to be a Debian packaging bug. Further digging reveals that the
initscript used to start Apache sets LANG to C, which overrides the system
setting.
--
Ian Eure
Lead Developer,
WebSprockets, LLC.