Skip to content

Commit b629aa1

Browse files
committed
minor #10462 Add option for configuring default UTF-8 encoding for routes (hiddewie)
This PR was merged into the master branch. Discussion ---------- Add option for configuring default UTF-8 encoding for routes Fix #10298 Commits ------- 6b40fb5 Add option for configuring default UTF-8 encoding for routes
2 parents d3c8438 + 6b40fb5 commit b629aa1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reference/configuration/framework.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ Configuration
122122
* `resource`_
123123
* `strict_requirements`_
124124
* `type`_
125+
* `utf8`_
125126

126127
* `secret`_
127128
* `serializer`_
@@ -743,6 +744,14 @@ The value can be one of:
743744
``true`` is recommended in the development environment, while ``false``
744745
or ``null`` might be preferred in production.
745746

747+
utf8
748+
....
749+
750+
**type**: ``boolean`` **default**: ``false``
751+
752+
Sets the default UTF-8 encoding configuration for routes. If your app's charset
753+
is UTF-8 it is recommended to set the value of this option to ``true``.
754+
746755
.. _config-framework-session:
747756

748757
session

0 commit comments

Comments
 (0)