UTF-8 problem with Apache

Ian Eure <[email protected]>
Newsgroups gmane.comp.php.internationalization
Organization WebSprockets, LLC
Message-ID <[email protected]>
I'm about to start on a project which will be translated into several
languages; English, French, German, Spanish, and Japanese. Because of these
requirements, I'm using UTF-8 for all languages.

Unfortunately, I'm having some problems with multibyte characters; they show
up as question marks when viewing a page.

I'm not sure why this is happening. Sniffing the HTTP response shows that
the characters are literal ASCII question marks.

Further testing seems to indicate that this is an Apache issue; running the
same stuff with the PHP binary from a Unicode-aware XTerm works fine. I set
AddDefaultCharset to utf-8 in my httpd.conf, but that didn't work.


I have observed identical behavior with:

Debian sarge (current as of right now)
PHP 4.3.8-9
Apache 1.3.31-5

Debian woody
PHP 4.1.2-7.0.1
Apache 1.3.26-0woody5

Does anyone know what's wrong here?

-- 
Ian Eure
Lead Developer,
WebSprockets, LLC.

-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.