How do I change the default character set for HTML?

In an .htaccess file placed in the directory you want to have the character set changed on, include the following lines:

AddDefaultCharset ?
# Or AddType 'text/html; charset=?' html
DefaultLanguage en-US

Replace the "?" with the character set required for your site, such as UTF-8.

Note: Cloud Sites has a default character set of UTF-8 if otherwise not specified in .htaccess

© 2015 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

See license specifics and DISCLAIMER