Welcome to WebmasterWorld Guest from 54.167.65.247

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

How to set UTF with .htaccess?

     
11:16 am on Sep 26, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Oct 25, 2006
posts: 1010
votes: 0


How to set UTF with .htaccess? I have noticed example:
AddDefaultCharset utf-8

What will be consequences for this line as I have also
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> and all files are stored as UTF-8.
11:40 am on Sept 26, 2012 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10563
votes: 15


http://httpd.apache.org/docs/current/mod/core.html#adddefaultcharset
AddDefaultCharset should only be used when all of the text resources to which it applies are known to be in that character encoding and it is too inconvenient to label their charset individually.


in your case it is unnecessary.