Site encoding 1251
Posted: Sat 9. Oct 2021, 21:22
Good afternoon!
There is an old site with charset=windows-1251.
I add a .htaccess entry:
AddDefaultCharset WINDOWS-1251
Nothing changes. The encoding remains UTF-8
I add php_value default_charset cp1251 - server error 500
Please help me.
Thanks!
P.S.
After
php_value default_charset cp1251
in logs:
Invalid command 'PHP_VALUE', perhaps misspelled or defined by a module not included in the server configuration
There is an old site with charset=windows-1251.
I add a .htaccess entry:
AddDefaultCharset WINDOWS-1251
Nothing changes. The encoding remains UTF-8
I add php_value default_charset cp1251 - server error 500
Please help me.
Thanks!
P.S.
After
php_value default_charset cp1251
in logs:
Invalid command 'PHP_VALUE', perhaps misspelled or defined by a module not included in the server configuration