Situation: I am testing some PHP/HTML code — part of it in [B]cyrillic[B]English Windows
Problem: Can’t get all the cyrillic characters look right, NO MATTER what I do!!! Please help — I’ve googled for the solution but couldn’t find one.
Here’s the code:
[code=php]setlocale(LC_ALL, ‘Russian_Russia.1251’);
[code=html]
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html” charset=”utf-8″ />
<title>Это страница для теста.</title>
</head>
<body>
<?php echo strftime(‘Число: %d, месяц: %B, день недели: %A’); ?>
</body>
</html>
With the above code, I get the following output:
Число: 26, месяц: ������, день недели: �����������
(to be exact, what I see on [I]my
If I comment out ‘setlocale(….)’ in the very beginning, then I get this:
Число: 26, месяц: January, день недели: Monday
which is not right, because I need russian names of the months and weeks.
Please help! I need all russian characters look right…
Thanks in advance.