I have WebServer on Windows.
In .htaccess:
AddDefaultCharset utf-8
php_value mbstring.internal_encoding utf-8
php_value default_charset utf-8
In script:
header("Content-Type: text/html; charset=utf-8");
ftp_connect("1");
In browser in UTF-8:
Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: getaddrinfo failed: ���� ���� ����������. (
Question - Why error message is not in UTF-8?