htaccess

Discussion in 'PHP' started by Fracisc, Mar 11, 2010.

  1. #1
    I have this code only in my htaccess file:

    RemoveHandler .html .htm
    AddType application/x-httpd-php .php .htm .html
    Code (markup):
    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..
     
    Fracisc, Mar 11, 2010 IP
  2. koko5

    koko5 Active Member

    Messages:
    394
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    70
    #2
    Hi,

    Try appending to .htaccess:
    AddDefaultCharset  UTF-8
    AddCharset UTF-8 *.php
    Code (markup):
    Regards :)
     
    koko5, Mar 12, 2010 IP