mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-03 22:17:36 +00:00
9ba72f1b8219eabc96f8cd5f0d300d993f52fe03
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.
Discussion
----------
Explicitly specify the encoding for mb_ord in JS escaper
`mb_ord` should be called with the specified UTF-8 encoding to make it independent of `mb_internal_encoding`.
Related to https://github.com/twigphp/Twig/pull/3397
Commits
-------
da24c934 Explicitly specify the encoding for mb_ord in JS escaper
Twig, the flexible, fast, and secure template language for PHP
==============================================================
Twig is a template language for PHP, released under the new BSD license (code
and documentation).
Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.
**Twig version 1 will stop being maintained at the end of November 2021.**
Please, upgrade at your earliest convenience.
Sponsors
--------
.. raw:: html
<a href="https://blackfire.io/docs/introduction?utm_source=twig&utm_medium=github_readme&utm_campaign=logo">
<img src="https://static.blackfire.io/assets/intemporals/logo/png/blackfire-io_secondary_horizontal_transparent.png?1" width="255px" alt="Blackfire.io">
</a>
More Information
----------------
Read the `documentation`_ for more information.
.. _documentation: https://twig.symfony.com/documentation
Description
Languages
PHP
99.9%