free flash templates
free flash templates menu free css & photoshop templates menu free flash animation

Go Back   free flash templates forum > Free flash templates
Register Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-05-2009, 11:58 PM
Anabass
Guest
 
Posts: n/a
Default 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  
Old 06-06-2009, 01:15 AM
Anabass
Guest
 
Posts: n/a
Default

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  
Old 06-06-2009, 02:04 PM
freenicetemplates freenicetemplates is offline
Administrator
 
Join Date: Mar 2009
Posts: 507
Default 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  
Old 06-06-2009, 06: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" />
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:59 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.