S
S
Stanislas2015-11-20 07:35:14
Character encoding
Stanislas, 2015-11-20 07:35:14

How to change the encoding of the month and day of the week on a local server?

On the local server, the month and day of the week is displayed �������, ������� 24, 2015, 06:48
(win7, it costs openserver) The
language file is encoded utf-8 without BOM. The error is exactly in these lines, but I don’t understand what exactly, I need help
$lang['lang'] = 'ru';
$lang['charset'] = 'utf-8';
$lang['locale'] = array('ru_RU.utf8','ru','rus');
$lang['dir'] = 'ltr';

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Shansky, 2015-11-20
@Amstor

try using adddefaultcharset utf-8 attribute in root directory .htaccess.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question