Monday 26 November 2007, 23:04
Force web browser encoding to UTF-8
I had to work on a website in Finnish for a friend. With my server in France there was some issues with the encoding detection and the page was full of weird signs.
To fix this I created a .htaccess file to the website root directory and added the following line to force all the .html files to UTF-8
AddCharset UTF-8 .html
That's it! The web browser goes to UTF-8 encoding automatically.
[no comment] :: [no trackback]


