I have WebServer on Windows.
In .htaccess:
AddDefaultCharset utf-8
php_value mbstring.internal_encoding utf-8
php_value default_charset utf-8
在脚本中:
header("Content-Type: text/html; charset=utf-8");
ftp_connect("1");
在浏览器中使用UTF-8编码:
Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: getaddrinfo failed: ���� ���� ����������. (
问题 - 为什么错误信息不是UTF-8格式?