Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Нужно явно задавать кодировку в конфигурации Twig #12

Open
vkryukov76 opened this issue Jan 27, 2018 · 1 comment
Assignees

Comments

@vkryukov76
Copy link

Похоже, что на момент подключения .settings-файлов констатнта SITE_CHARSET еще не определена.

Используя "стандартную" конфигурацию: https://github.com/maximaster/tools.twig/blob/master/docs/configuration.md, столкнулся с проблемами в работе фильтра escape из-за этого.

Помогло явное указание кодировки: 'charset' => 'UTF-8'

@mmjurov mmjurov self-assigned this Jan 28, 2018
@mmjurov
Copy link
Member

mmjurov commented Jan 28, 2018

Спасибо, проверим-с.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants