diff --git a/reference/exec/functions/escapeshellarg.xml b/reference/exec/functions/escapeshellarg.xml
index 2ccefbdee687..6a4625f0b5a0 100644
--- a/reference/exec/functions/escapeshellarg.xml
+++ b/reference/exec/functions/escapeshellarg.xml
@@ -29,6 +29,11 @@
Furthermore, each streak of consecutive backslashes (\)
is escaped by one additional backslash.
+
+ The behavior of this function with multibyte strings depends on the current
+ LC_CTYPE locale setting. Unrecognized characters will be
+ discarded. See setlocale
+
@@ -74,6 +79,7 @@ system('ls '.escapeshellarg($dir));
&reftitle.seealso;
+ setlocale
escapeshellcmd
exec
popen
diff --git a/reference/exec/functions/escapeshellcmd.xml b/reference/exec/functions/escapeshellcmd.xml
index aa90a90f6e8a..f5e5a624d8b9 100644
--- a/reference/exec/functions/escapeshellcmd.xml
+++ b/reference/exec/functions/escapeshellcmd.xml
@@ -31,6 +31,11 @@
plus % and ! are preceded by a caret
(^).
+
+ The behavior of this function with multibyte strings depends on the current
+ LC_CTYPE locale setting. Unrecognized characters will be
+ discarded. See setlocale
+
@@ -107,6 +112,7 @@ $cmd = preg_replace('`(?
+ setlocale
escapeshellarg
exec
popen