From ab64cbcfe2f85d338abd2d6094a2601bdb67b45d Mon Sep 17 00:00:00 2001 From: dsiders Date: Wed, 19 Jan 2022 17:22:27 +0000 Subject: [PATCH] Docs: LazUtils/lazutf8. Updates topic content in Utf8EscapeControlChars. (cherry picked from commit 6c639074fce7af21cb2dc59c5edb91268333b516) --- docs/xml/lazutils/lazutf8.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/xml/lazutils/lazutf8.xml b/docs/xml/lazutils/lazutf8.xml index f35cd0e86c..c5cc92ae09 100644 --- a/docs/xml/lazutils/lazutf8.xml +++ b/docs/xml/lazutils/lazutf8.xml @@ -1682,7 +1682,7 @@ end;

- Utf8EscapeControlChars translates control characters inside a UTF-8-encoded string into human readable format. Characters in the range 0..31 are converted into the human-readable values for the control characters in the format specified by EscapeMode, including: + Utf8EscapeControlChars translates control characters inside a UTF-8-encoded string into human readable format. Characters in the range #0..#31 are converted into the human-readable values for the control characters in the format specified by EscapeMode, including:

emPascal
@@ -1700,7 +1700,7 @@ end; Utf8EscapeControlChars calls FindInvalidUTF8Codepoint to see if S contains any invalid codepoints for the UTF-8 encoding. UTF8FixBroken is called to repair the input value.

- Utf8EscapeControlChars iterates over the characters in S, and converts any value in the eligible range using an internal lookup table for the value in EscapeMode. All other character values (or values in multi-byte UTF-8 code points) are included in the return value in their unmodified form. + Utf8EscapeControlChars iterates over the characters in S, and converts any character value in the eligible range using an internal lookup table for the value in EscapeMode. All other character values (or values in multi-byte UTF-8 code points) are included in the return value in their unmodified form.

Mainly used as a diagnostic or logging tool. @@ -1718,7 +1718,7 @@ end; UTF-8 encoded string with values converted in the routine. - Controls the human readable format for escape characters. + Controls the human readable format for escaped characters.