Hmm, this worked. However, what i'm trying to achive is to set default encoding to UTF-8.
I created two files; "test.php" and "test.js" in /test/. The content is "This is a test file".
Server header check gives:
HTTP/1.0 200 OK =>
Date => Sat, 10 Nov 2012 11:18:46 GMT
Connection => close
X-Powered-By => PHP/5.2.16
Content-Type => text/html; charset=ISO-8859-9
Content-Length => 28
Adding the lines below to .htaccess do not make any differences:
ForceType 'text/html; charset=UTF-8'
AddCharset UTF-8 .html .php .js
I am aware that the default encoding in php.ini is set to ISO-8859-9 but it must be possible to override this value.
Last edited by LiteSpeeder; 11-10-2012 at 04:34 AM..