A
A
aclase2015-10-12 03:56:24
Nginx
aclase, 2015-10-12 03:56:24

VestaCP - Problems with encoding after updating PHP to 5.6?

Centos 6.7 / Apahce + nginx /
VestaCP value AddDefaultCharset UTF-8 on AddDefaultCharset Windows-1251 Didn't help. What can be done about it? Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikolai Kovalev, 2015-10-12
@nkmail

Forget about Windows-1251 already, convert all sites to UTF, google it, spend your time - it's worth it.

E
entermix, 2016-08-16
@entermix

Add to .htaccess file:

DefaultLanguage ru
AddDefaultCharset windows-1251
php_value default_charset "cp1251"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question