Solve accent issues on many websites!
This is another great tip submitted by Dominic Tremblay. The websites created in iWeb have issues with displaying the right accent in French, Spanish and many other languages. iWeb works great for creating websites and uploading them to .Mac but it's still not perfect with publishing it to a folder. Many North-American and European hosting are using Latin-1 as encoding. Latin-1 supports many languages including French, Spanish, German, etc but it does not support every languages. That is why Apple only offers Unicode(UTF-8) with iWeb and .Mac. The issue is iWeb forces you to use Unicode(UTF-8) but not all hostings support it. I received many email from peoples who had difficulty with their iWeb websites and it was because their hosting was only offering other encoding such as Latin-1. The solution is simple and it is to add a file called ".htaccess" that contains the following:
AddCharset UTF-8 .html
It is sometimes preferable to call it "htaccess" without the "." until it is
uploaded to the server because all files starting with a "." in OS X are hidden. You can rename it once it is on the server and the accent shoud then be displayed fine! Thanks Dominic!
AddCharset UTF-8 .html
It is sometimes preferable to call it "htaccess" without the "." until it is
uploaded to the server because all files starting with a "." in OS X are hidden. You can rename it once it is on the server and the accent shoud then be displayed fine! Thanks Dominic!
5 Comments:
but where to get this file?
You create it in text edit like any html file. You only have to copy and paste that line of code in it. Be sure to swith to Plain Text before saving it. You then call it .htaccess It is best to leave out the "." because files starting with a "." are hidden in OS X. You can rename it once it's on the server.
MacGeek
Check this out. It tells you how to make HTML files easily.
got it~ thanks~
Hi, I've tried this and uploaded the html file as suggested, but it doesn't seem to work... any ideas where I'm going wrong? This is the site: http://www.val-d-or.co.uk
I've previously had to change the name of an accented word in the blog entry title, as an accent would prevent the page from uploading properly, but the accents always showed up fine on the page after I did this... that's all of a sudden stopped happening and now all the accents are messing up on screen.
Any help is appreciated! Thanks in advance :o)
Post a Comment
Subscribe to Post Comments [Atom]
<< Home