From 6884e4df7a94568e95bfdd1878c5531dbe14b7e3 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 15 Nov 2019 15:21:00 +0100 Subject: [PATCH] Fixed the explanation of the utf8 router option --- reference/configuration/framework.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 9039610155f..d8305218f18 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -1152,7 +1152,10 @@ utf8 **type**: ``boolean`` **default**: ``false`` -When this option is set to ``true``, route patterns can include UTF-8 characters. +When this option is set to ``true``, the regular expressions used in the +:ref:`requirements of route parameters ` will match any +UTF-8 character when using ``.``, instead of matching only a single byte. + If the charset of your application is UTF-8 (as defined in the :ref:`getCharset() method ` of your kernel) it's recommended to set it to ``true``. This will make non-UTF8 URLs to generate 404