|
Post by Stormdance on Apr 8, 2005 13:40:48 GMT
Q. My web pages look fine when previewed locally from my hard drive, but after publishing online, accents or special characters display incorrectly - what's up and how do I fix it? A. The web pages themselves are OK but there is a problem with the web server you are publishing to... Test: Publish your web pages to your web space online then view them in your web browser. If any characters look incorrect (especially accents) change the web browser encoding setting: View->Encoding->Unicode (UTF-8). If the web page now displays correctly then the web server is sending out the wrong encoding information. Explanation: Modern web pages use the universal Unicode UTF-8 encoding - because this supports most of the worlds alphabets. Antenna uses this encoding too. However some old web servers force an old ISO encoding by default when serving web pages to the web browser, and this unfortunately overrides the correct web page encoding. Solution: If you contact your web hosting company and tell them that your pages are Unicode UTF-8 encoded, they will be able to add a .htaccess directive or adjust a HTTP response header setting on their server and this will fix the problem. If you know what you are doing and have access to your server settings, then you may want to make the adjustment yourself. You can find more technical information here: www.w3.org/International/questions/qa-htaccess-charsetCheers, Stormdance
|
|