Answer the question
In order to leave comments, you need to log in
Phalcon, what's wrong with the encoding?
Some kind of idiotic problem, the Cyrillic alphabet is corny not displayed correctly.
Controller out of the box:
class IndexController extends ControllerBase
{
public function indexAction()
{
echo "Пользователя с таким логином не существует";
}
}
default_charset = "UTF-8"
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
return new \Phalcon\Config(array(
'database' => array(
'adapter' => 'Mysql',
'host' => 'localhost',
'username' => 'root',
'password' => '',
'dbname' => 'ms_main',
'charset' => 'utf8',
),
'application' => array(
'controllersDir' => APP_PATH . '/app/controllers/',
'modelsDir' => APP_PATH . '/app/models/',
'migrationsDir' => APP_PATH . '/app/migrations/',
'viewsDir' => APP_PATH . '/app/views/',
'pluginsDir' => APP_PATH . '/app/plugins/',
'libraryDir' => APP_PATH . '/app/library/',
'cacheDir' => APP_PATH . '/app/cache/',
'baseUri' => '',
)
));
...
<body>
������������ � ����� ������� �� ����������
</body>
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question