Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Greek fonts work in preview but not when uploaded
Old 02-21-2008, 05:25 AM Greek fonts work in preview but not when uploaded
missingtime's Avatar
Skilled Talker

Posts: 83
Location: Athens, Greece
Trades: 0
I'm teaching myself web design via a HUGE Dreamweaver book ("The Missing Manual"). I've haven't had any real problems until now. Here's the situation:

I inserted a simple Spry navigation bar and added some labels in Greek. When I preview it in my browsers it works fine. I uploaded it to the Web though and the Greek is all garbled...can't see the fonts.

Why?

You can see what happens here:

http://users.otenet.gr/~gggreat4/

(Assuming of course that you will have the same problem.)

When I do this in IE..it solves the problem:

View -> Encoding -> Auto select

Voila! The Greek reappears.

BUT, why do I have to do that? What haven't I done with the page that causes this to happen?

Thank you for your help.
missingtime is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-21-2008, 09:07 AM Re: Greek fonts work in preview but not when uploaded
Defies a Status

Posts: 3,420
Trades: 0
This is almost definitely due to the character encoding on your page as I found it displayed fine in my browser when I changed the encoding to UTF-8. I had a quick test on my own computer and then I hit on an idea - since it works fine on both our computers, it may be the server. I'm fairly sure that you can actually specify the character encoding of your HTML files in the .hctaccess file in your public_html folder of your site. If in there, you find a line similar to:

Quote:
AddType 'text/html; charset=ISO-8859-7' html
then this may be causing the problem.

You have built your site encoding the characters with UTF-8, but the server may be telling the client to render the characters using a Greek character set. Doing so means that special characters all display incorrectly when viewed in a browser.

This is only a hunch. I'm far from an expert on the topic but it would make some sense. Check the .hctaccess file in public_html if you are on an Apache (Linux) server and if you see the line I had above, remove it and save the file.

Dan
CSS4Life is offline
Reply With Quote
View Public Profile
 
Old 02-21-2008, 09:31 AM Re: Greek fonts work in preview but not when uploaded
missingtime's Avatar
Skilled Talker

Posts: 83
Location: Athens, Greece
Trades: 0
I did build the site with UTF-8. So, based on what you said I tried something:

I simply changed it to Greek (ISO) and it works!

Thank you.
missingtime is offline
Reply With Quote
View Public Profile
 
Old 02-21-2008, 09:51 AM Re: Greek fonts work in preview but not when uploaded
Defies a Status

Posts: 3,420
Trades: 0
Glad it works for you My way was probably a bit long winded and maybe looking at this a backward way lol. Glad it's working anyway
CSS4Life is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Greek fonts work in preview but not when uploaded
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.61050 seconds with 12 queries