homepage Welcome to WebmasterWorld Guest from 54.227.67.210
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
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




msg:4500144
 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




msg:4500151
 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