PHP UTF-8 Configuration
I am configuring my Apache/2.2.17 server with PHP 5.3.5. My goal is to create a clean configuration which defaults to the content-type `UTF-8`.

_php.ini_:

    default_charset = "UTF-8"
    default_mimetype = "application/xhtml+xml"

does not work: the `Content-Encoding` header is not send.

I am aware of (ugly) solutions:

 * to add `header('Content-Encoding:utf-8')` to my files;
 * rely on XML processing instruction `<?xml ... encoding="UTF-8" ?>`;
 * rely on HTML _meta_ tag with _http-equiv_.

<sub>Note: I have restarted Apache after I edited my _php.ini_ configuration.</sub>

Is PHP broken, or have I missed something?
PHP UTF-8 Configuration
===

I am configuring my Apache/2.2.17 server with PHP 5.3.5. My goal is to create a clean configuration which defaults to the content-type `UTF-8`.

_php.ini_:

    default_charset = "UTF-8"
    default_mimetype = "application/xhtml+xml"

does not work: the `Content-Encoding` header is not send.

I am aware of (ugly) solutions:

 * to add `header('Content-Encoding:utf-8')` to my files;
 * rely on XML processing instruction `<?xml ... encoding="UTF-8" ?>`;
 * rely on HTML _meta_ tag with _http-equiv_.

<sub>Note: I have restarted Apache after I edited my _php.ini_ configuration.</sub>

Is PHP broken, or have I missed something?