Characters like Â, ’ are showing up on my web site page Print

  • 52

This problem is generally related to the wrong text encoding that is being supplied to your browser.  The standard text coding for web pages is Western (ISO-8859-1), the iWeb software encodes all of its html pages as Unicode (UTF-8). and the server will default the UTF-8 page to your web browser as ISO-8859-1 code and cause the strange characters to show up.

The solution to this issue is to setup what’s called a .htaccess file with the following command (or add the command to your current .htaccess file):
AddCharset UTF-8 .html

If you wish other page types to have the default page encoding you can just add to the same line, like .htm  .php  etc.
If you do not have a .htaccess file you can create one easily enough by opening up a program like notepad or some other html or coding software that does not place special characters in the text, which is why you should never use a word process like Word to create your file.

NOTE: When you save the .htaccess file to your PC you will need a file extension, if using notepad you will nee to use .txt. So the file on your PC will look like this .htaccess.txt. Once you up load it to your web root directory of your site, you will need to rename the file from .htaccess.txt (or what ever file extension you are using to .htaccess before the file will be effective)

Once you placed the code above into your editor save as .htaccess on your local PC and then using a FTP program upload the file to your root web docs (documents) directory. By placing in the root docs directory this will control your entire site.

If you do not fill comfortable in doing this please open a Support Ticket and refer to this Knowledge Base article.


Was this answer helpful?

« Back