free flash templates free css & photoshop templates free flash animation |
#1
|
|||
|
|||
Template 9 - special characters question
Hi,
I have another question, related to Tempelate no.9 - I am using our special regional characters such as ľ, š, č, ť, ž and so and different .htm files display them different! I am modifying everything with PSPad. Check my development version: http://www.hitechweb.genezis.eu/furdaphoto/ For example when I modified file _news.htm, everything is OK - it means every character displays correctly. But when you take a look on the homepage (index.htm) and news on the left side, it incorrectly displays the character "č", but other characters such as "á", "š", "é" are correct. And now, when I modified the file _portfolio ("photos" in my case), every special character is displayed wrong! I used the test characters sentence "Test ľ š č ť ž ý á í é ň" and applied it to the "news" and "aviation" files on the same time. In the "news" file everything is OK and in the same time and with the same style added sentence to "aviation" page, it displays totaly wrong. How is it possible? |
#2
|
|||
|
|||
Okey, I did some tests and here are the results. Probably they will be usefull in case to find the solution.
Because in the _news.htm file (news) everything displays correctly, i decided to to make a copy of its soucre code from top to bottom, it means every character, and paste it to the _letectvo.htm file (aviation). You can see the results. News in the Firefox is displayed correctly while Aviation is completely wrong. With IE7, the only difference is, that in the Aviation, the special characters are displayed as the "?" Another interesting thing is that I checked also another web, that is using the Tempelate no.9 http://time2talk.tym.sk/ and I attach the results as the image. As you can see, in the Firefox the top banner, menu and news are wrong while content is displayed correctly with all its characters. When using IE7, everything look as it should look without any problem. FIREFOX 3.0.10 (freshly installed) IE7 |
#3
|
|||
|
|||
Encoding problem with flash template
Hi Anabass,
I think the problem is coming from the encoding _letectvo.htm. Can you try to open it with notepad and save it again and chose UTF-8 encoding ? Doeas it solve your problem ? Regards
__________________
We are always pleased to read you in our guestbook |
#4
|
|||
|
|||
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" /> Code:
<meta http-equiv="Content-Type" content="text/html; charset=CP1250" /> |
|
|