Answer the question
In order to leave comments, you need to log in
Why flies encoding from htaccess?
In the VirtualHost domain config on the server:
AddDefaultCharset off
I upload the site on static files. The file is ANSI encoded in meta 1251 (yes, I know that utf8 is better, but it happened historically). Everything works correctly.
I upload htaccess with the following content:
RemoveHandler .html .htm .php
AddType application/x-httpd-php .htm .html .php
DirectoryIndex index.php index.html index.htm
Options All -Indexes
Answer the question
In order to leave comments, you need to log in
If php version >= 5.6, then default_charset might be the problem .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question