homepage Welcome to WebmasterWorld Guest from 54.204.73.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
How to set UTF with .htaccess?
toplisek

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4500142 posted 11:16 am on Sep 26, 2012 (gmt 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.

 

phranque

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



 
Msg#: 4500142 posted 11:40 am on Sep 26, 2012 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved