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
Site encoding 1251
- singletone
- Posts: 3
- Joined: Sat 9. Oct 2021, 20:55
Re: Site encoding 1251
Just try
There is no need for the word „php_value“.
Code: Select all
default_charset = “cp1251“
Gruß,
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
- singletone
- Posts: 3
- Joined: Sat 9. Oct 2021, 20:55
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
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
- singletone
- Posts: 3
- Joined: Sat 9. Oct 2021, 20:55
Re: Site encoding 1251
I added the line
default_charset = "windows-1251"
to the settings
"Additional PHP settings" in "Edit user".
Everything worked.
default_charset = "windows-1251"
to the settings
"Additional PHP settings" in "Edit user".
Everything worked.