Portal Home > Knowledgebase > Web Hosting > HTML > How can I force a particular charset? (Character Encoding)


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

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

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
What is the server path? (Views: 5313)
What is XML? (Views: 4900)

Powered by WHMCompleteSolution

Web Hosting - The World of Host
Language:

Contact Us

Sales
If you need to contact our sales team you can email them at: sales@theworldofhost.com
Marketing
If you need to contact our Marketing team you can email them at:  Markting@theworldofhost.com