Webmaster Forum Rules | Posting Guide | Contact Us | Testimonials | Contributing Geek Program | Advertise on Geek/Talk
Welcome to the GeekTalk Webmaster Discussion Forums from GeekVillage.com

Click Here To Register. It's Free!

Go Back   geek/talk: Signature-free discourse for serious web publishers > YOUR CREATION: Building & Maintaining A Web Site > Web Development - Programming / Coding
User Name
Password
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 03-11-2010, 05:54 PM   #1
xmsmmgrs
Registered User
 
Join Date: Oct 2008
Posts: 28
Default htaccess and utf-8

I have this code in my htaccess file:

Code:
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
The problem is that the UTF-8 formatting is gone. How can I fix this? If I remove the htaccess file UTF-8 characters are back..
xmsmmgrs is offline   Reply With Quote
Old 10-20-2010, 06:04 AM   #2
merabasera
Registered User
 
Join Date: Jun 2010
Posts: 7
Red face hi

Is there any compulsion to use .htaccess file.
merabasera is offline   Reply With Quote
Old 11-14-2010, 05:48 PM   #3
infoman66
Registered User
 
Join Date: Sep 2010
Location: OZ
Posts: 19
Default

You can try this:
Add this:
AddDefaultCharset UTF-8
in htaccess file and put in root dir of the site, or put this in the head tag of every page:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
infoman66 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Please support our advertisers. They ensure our survival.

All times are GMT -5. The time now is 10:24 PM.


GeekVillage.com is copyright © 1998-2014 iOnline Web Design. All rights reserved.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.