Skip to content

Commit 4bf63bb

Browse files
committed
[#12636] Link to PHP.net's UTF-8 docs
1 parent 2870811 commit 4bf63bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

reference/configuration/framework.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,8 +1153,9 @@ utf8
11531153
**type**: ``boolean`` **default**: ``false``
11541154

11551155
When this option is set to ``true``, the regular expressions used in the
1156-
:ref:`requirements of route parameters <routing-requirements>` will match any
1157-
UTF-8 character when using ``.``, instead of matching only a single byte.
1156+
:ref:`requirements of route parameters <routing-requirements>` will be run
1157+
using the `utf-8 modifier`_. This will for example match any UTF-8 character
1158+
when using ``.``, instead of matching only a single byte.
11581159

11591160
If the charset of your application is UTF-8 (as defined in the
11601161
:ref:`getCharset() method <configuration-kernel-charset>` of your kernel) it's
@@ -3041,3 +3042,4 @@ to know their differences.
30413042
.. _`PEM formatted`: https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail
30423043
.. _`haveibeenpwned.com`: https://haveibeenpwned.com/
30433044
.. _`session.cache-limiter`: https://www.php.net/manual/en/session.configuration.php#ini.session.cache-limiter
3045+
.. _`utf-8 modifier`: https://www.php.net/reference.pcre.pattern.modifiers

0 commit comments

Comments
 (0)