How to set IIS website's default encoding?
问题 My website is a combination of classic ASP and ASP.NET My pages' default encoding is currently ISO-8859-1 . Even if there's no <meta> tag, the response page will be encoded ISO-8859-1 . How to change it to UTF-8 ? 回答1: You could try adding the header to the HTTP Response Headers list for that site. If none is specified, it will be delivered in whatever the user agent requests, which is likely why you're seeing the ISO-8859-1 "Properties" => "HTTP Headers" => "File Types..." => "New Type...".