By mfb on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
The locale is now set to C.UTF-8, if available in the environment.
These are set in \Drupal\Core\DrupalKernel::bootEnvironment() and core/tests/bootstrap.php.
If the C.UTF-8 locale is not available, the C locale will continue to be used as a fallback.
With a UTF-8 locale enabled, certain PHP functions, such as escapeshellarg() and escapeshellcmd(), now include non-ASCII characters in the output. Previously, these functions silently discarded non-ASCII characters.
Impacts:
Module developers