Skip to content

Commit 6b40fb5

Browse files
committed
Add option for configuring default UTF-8 encoding for routes
1 parent d2907db commit 6b40fb5

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`_
@@ -742,6 +743,14 @@ The value can be one of:
742743
``true`` is recommended in the development environment, while ``false``
743744
or ``null`` might be preferred in production.
744745

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

747756
session

0 commit comments

Comments
 (0)