View Single Post
  #4  
Old 06-06-2009, 05:51 PM
Anabass
Guest
 
Posts: n/a
Default

Yes, it solved the problem related to content of the web, thank you. However the same solution applied to index.htm had opposite result. The test characters were completely wrong. So I tried ISO 8859-2 encoding, the same, that is defined in the head of the page. Then the half of the characters displayed correctly and the rest wrong. So finaly I tried Windows CP1250 encoding and everything is now OK.

So everybody, that is using unstandard (middle Europe in this case) characters in his web should encode the content of the page using UTF-8 and the file index.htm using the encoding Windows CP1250. It is also necessary to modify the head in the file index.htm and replace the original code:

Code:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
...with the new one:

Code:
<meta http-equiv="Content-Type" content="text/html; charset=CP1250" />