Encoding of PHP error message
<p>I have WebServer on Windows.</p>

<p>In .htaccess:</p>

<pre><code>AddDefaultCharset utf-8
php_value mbstring.internal_encoding utf-8
php_value default_charset utf-8
</code></pre>

<p>In script:</p>

<pre><code>header("Content-Type: text/html; charset=utf-8");
ftp_connect("1");
</code></pre>

<p>In browser in UTF-8:</p>

<pre><code>Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: getaddrinfo failed: ���� ���� ����������. (
</code></pre>

<p>Question - Why error message is not in UTF-8?</p>
