How can I force a particular charset? (Character Encoding)

You are able to set a default value for the media type charset parameter (the name of a character encoding) to be added to a response if and only if the response's content-type is either text/plain or text/html.

To do this, simply create a file named ".htaccess" within your webspace, and add the following line:

AddDefaultCharset <charset>

A setting of "AddDefaultCharset Off" disables this functionality. Usually, this will mean the exact behavior is dependent on the user's client configuration.

  • 71 Users Found This Useful
Was this answer helpful?

Related Articles

Does Fast-name support SSI (Server Side Includes)?

Does Fast-name support SSI (Server Side Includes)?Yes we do. SSI (Server Side Includes) are tags...

What is XML?

XML is browser based, and it is not dependant on the type of server that you are running your...

How can I change the file name extension of my index page?

It is possible to name your default index page something other than index.html, index.cgi,...

What is the server path?

The path to your website is partially determined by your domain name, but is in the following...

What is the list of Default Documents in order of priority?

The list of default documents (pages which IIS will serve when only the sub directory is...

Powered by WHMCompleteSolution