Search found 3 matches

by singletone
Tue 12. Oct 2021, 12:12
Forum: Archive
Topic: Site encoding 1251
Replies: 3
Views: 2376

Re: Site encoding 1251

I added the line
default_charset = "windows-1251"
to the settings
"Additional PHP settings" in "Edit user".

Everything worked.
by singletone
Sun 10. Oct 2021, 07:28
Forum: Archive
Topic: Site encoding 1251
Replies: 3
Views: 2376

Re: Site encoding 1251

Hi!
Tnx, but it doesn't work:
log:
.htaccess: Invalid command 'default_charset', perhaps misspelled or defined by a module not included in the server configuration
by singletone
Sat 9. Oct 2021, 21:22
Forum: Archive
Topic: Site encoding 1251
Replies: 3
Views: 2376

Site encoding 1251

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: I...