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.

  • 65 Users Found This Useful
Was this answer helpful?

Related Articles

How do I upload a CGI script to my web space?

CGI scripts can be uploaded to anywhere in your hosting package, however it's traditional to...

What modules are installed on the server?

Simply log into your Fast Name Control Panel and select Web Diagnostics. Under that section you...

Where do I put CGI or Perl scripts? Do they have to be in a specific directory?

Although we provide a cgi-bin as standard you do not need to put your CGI scripts in there. You...

What is Perl?

Short for Practical Extraction and Report Language, Perl is a programming language developed by...

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

Yes we do. SSI (Server Side Includes) are tags that are placed in HTML pages, and evaluated on...