mardi 4 août 2015

Special charecters doesn't work

I have a webpage with the special charecters working on: http://ift.tt/1E61zyg

But with the exactly the same code on another page it does not work: http://ift.tt/1M8TgtG

I know that there is a solution where i can put code in that makes the charecter, such as Ø, Å etc.

But i want to avoid using these since it would take a long time to switch out all "æ, ø, å" charecters with the codes.

My charset is defined in my .htacces file, which looks like this;'

DirectoryIndex index.php index.html index.htm

Options -Indexes
Options +FollowSymlinks

<Files .htaccess>
deny from all
</Files>

php_value include_path ".:/usr/www/gtgmodweb/public/inc"

ErrorDocument 404 http://ift.tt/1M8TiBz
ErrorDocument 403 http://ift.tt/1E61zyk



<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On 
# Default directive
ExpiresDefault "access plus 1 month"
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
# CSS
ExpiresByType text/css "access plus 1 month"
# Javascript
ExpiresByType application/javascript "access plus 1 year"
</IfModule>

AddDefaultCharset iso-8859-1

Header unset ETag
FileETag None

If anyone has a clue on what causes the page to not displaying the charecters correctly, then please help me solving it!

Aucun commentaire:

Enregistrer un commentaire