diff --git a/language-snippets.ent b/language-snippets.ent
index ebd46210f9a6..b602f79edee8 100644
--- a/language-snippets.ent
+++ b/language-snippets.ent
@@ -3809,6 +3809,146 @@ local: {
'>
+
+
+
+ " " (Unicode U+0020), an ordinary space.
+
+
+
+
+ "\t" (Unicode U+0009), a tab.
+
+
+
+
+ "\n" (Unicode U+000A), a new line (line feed).
+
+
+
+
+ "\r" (Unicode U+000D), a carriage return.
+
+
+
+
+ "\0" (Unicode U+0000), the NUL-byte.
+
+
+
+
+ "\v" (Unicode U+000B), a vertical tab.
+
+
+
+
+ "\f" (Unicode U+000C), a form feed.
+
+
+
+
+ "\u00A0" (Unicode U+00A0), a NO-BREAK SPACE.
+
+
+
+
+ "\u1680" (Unicode U+1680), a OGHAM SPACE MARK.
+
+
+
+
+ "\u2000" (Unicode U+2000), a EN QUAD.
+
+
+
+
+ "\u2001" (Unicode U+2001), a EM QUAD.
+
+
+
+
+ "\u2002" (Unicode U+2002), a EN SPACE.
+
+
+
+
+ "\u2003" (Unicode U+2003), a EM SPACE.
+
+
+
+
+ "\u2004" (Unicode U+2004), a THREE-PER-EM SPACE.
+
+
+
+
+ "\u2005" (Unicode U+2005), a FOUR-PER-EM SPACE.
+
+
+
+
+ "\u2006" (Unicode U+2006), a SIX-PER-EM SPACE.
+
+
+
+
+ "\u2007" (Unicode U+2007), a FIGURE SPACE.
+
+
+
+
+ "\u2008" (Unicode U+2008), a PUNCTUATION SPACE.
+
+
+
+
+ "\u2009" (Unicode U+2009), a THIN SPACE.
+
+
+
+
+ "\u200A" (Unicode U+200A), a HAIR SPACE.
+
+
+
+
+ "\u2028" (Unicode U+2028), a LINE SEPARATOR.
+
+
+
+
+ "\u2029" (Unicode U+2029), a PARAGRAPH SEPARATOR.
+
+
+
+
+ "\u202F" (Unicode U+202F), a NARROW NO-BREAK SPACE.
+
+
+
+
+ "\u205F" (Unicode U+205F), a MEDIUM MATHEMATICAL SPACE.
+
+
+
+
+ "\u3000" (Unicode U+3000), a IDEOGRAPHIC SPACE.
+
+
+
+
+ "\u0085" (Unicode U+0085), a NEXT LINE (NEL).
+
+
+
+
+ "\u180E" (Unicode U+180E), a MONGOLIAN VOWEL SEPARATOR.
+
+
+
+'>
+
Optionally, the stripped characters can also be specified using
@@ -3818,6 +3958,14 @@ local: {
'>
+
+ Optionally, the stripped characters can also be specified using
+ the characters parameter.
+ Simply list all characters that need to be stripped.
+
+'>
+
An optional argument defining the encoding used when converting characters.
diff --git a/reference/mbstring/functions/mb-lcfirst.xml b/reference/mbstring/functions/mb-lcfirst.xml
index c2704d028acd..b81172980470 100644
--- a/reference/mbstring/functions/mb-lcfirst.xml
+++ b/reference/mbstring/functions/mb-lcfirst.xml
@@ -15,9 +15,7 @@
Performs a multi-byte safe lcfirst operation,
and returns a string with the first character of
- string lowercased if that character is
- an ASCII character in the range "A" (0x41) to
- "Z" (0x5a).
+ string lowercased.
diff --git a/reference/mbstring/functions/mb-ltrim.xml b/reference/mbstring/functions/mb-ltrim.xml
index d47a334d7f1b..2ee2bc909e65 100644
--- a/reference/mbstring/functions/mb-ltrim.xml
+++ b/reference/mbstring/functions/mb-ltrim.xml
@@ -21,7 +21,7 @@
Without the second parameter,
mb_ltrim will strip these characters:
- &strings.stripped.characters;
+ &strings.stripped.unicode;
@@ -38,7 +38,7 @@
characters
- &strings.parameter.characters.optional;
+ &strings.parameter.unicode.optional;
diff --git a/reference/mbstring/functions/mb-rtrim.xml b/reference/mbstring/functions/mb-rtrim.xml
index b7074459c0a6..b83631f6fb34 100644
--- a/reference/mbstring/functions/mb-rtrim.xml
+++ b/reference/mbstring/functions/mb-rtrim.xml
@@ -20,9 +20,9 @@
Without the second parameter,
- rtrim will strip these characters:
+ mb_rtrim will strip these characters:
- &strings.stripped.characters;
+ &strings.stripped.unicode;
@@ -39,7 +39,7 @@
characters
- &strings.parameter.characters.optional;
+ &strings.parameter.unicode.optional;
diff --git a/reference/mbstring/functions/mb-trim.xml b/reference/mbstring/functions/mb-trim.xml
index 4ed73d2f819c..a0c47c286d79 100644
--- a/reference/mbstring/functions/mb-trim.xml
+++ b/reference/mbstring/functions/mb-trim.xml
@@ -18,9 +18,9 @@
and returns a string with whitespace stripped from the
beginning and end of string.
Without the second parameter,
- trim will strip these characters:
+ mb_trim will strip these characters:
- &strings.stripped.characters;
+ &strings.stripped.unicode;
@@ -37,7 +37,7 @@
characters
- &strings.parameter.characters.optional;
+ &strings.parameter.unicode.optional;
diff --git a/reference/mbstring/functions/mb-ucfirst.xml b/reference/mbstring/functions/mb-ucfirst.xml
index 57c589e45732..f53e21507ccc 100644
--- a/reference/mbstring/functions/mb-ucfirst.xml
+++ b/reference/mbstring/functions/mb-ucfirst.xml
@@ -1,5 +1,5 @@
-
+mb_ucfirstMake a string's first character uppercase
@@ -15,9 +15,7 @@
Performs a multi-byte safe ucfirst operation,
and returns a string with the first character of
- string capitalized, if that character is
- an ASCII character in the range from "a" (0x61) to
- "z" (0x7a).
+ string title-cased.
@@ -50,6 +48,24 @@
+
+ &reftitle.notes;
+
+
+ By contrast to the standard case folding functions such as
+ strtolower and strtoupper,
+ case folding is performed on the basis of the Unicode character
+ properties. Thus the behaviour of this function is not affected
+ by locale settings and it can convert any characters that have
+ 'alphabetic' property, such a-umlaut (รค).
+
+
+
+ For more information about the Unicode properties, please see &url.unicode.reports;.
+
+
+
&reftitle.seealso;