diff --git a/docs/xml/lazutils/lazutf16.xml b/docs/xml/lazutils/lazutf16.xml index d1f9b2b1d3..9af26058cf 100644 --- a/docs/xml/lazutils/lazutf16.xml +++ b/docs/xml/lazutils/lazutf16.xml @@ -45,14 +45,20 @@ a UTF-16 table, but it might be extended to include various UTF-16 routines. Gets the length of the UTF-16 character in the specified PWideChar value. +

Uses the endian-ness for the platform. Returns 0, 1, or 2. +

-Length of the UTF-16 character in the value, or 0 when Nil. + +Length of the UTF-16 character in the value, or 0 when Nil. + -PWideChar value examined in the routine. + +PWideChar value examined in the routine. + @@ -110,6 +116,7 @@ specified value. Number of characters (code points) copied in the the routine. + Gets a pointer to the character (UTF-16 codepoint) at the specified position @@ -211,23 +218,28 @@ when p contains an invalid UTF-16 code point. -Converts a Unicode character value to its UTF-16 equivalent as a WideString -value. +Converts a Unicode character (code point) to its UTF-16 equivalent as a UnicodeString type.

-Cardinal values below $10000 result in a single WideChar code value for the -code point. Other cardinal values result in 2 WideChar values in the result to -represent the UTF-16 code point. +Cardinal values below $10000 result in a single WideChar value for the code +point. Cardinal values in the range $D800 - $DFFF are reserved code points +and contain 2 WideChar values in the result to represent the UTF-16 code +point. WIdeChar values are cast to the UnicodeString type used in the return +value.

-WideString value with UTF-16 code point the Unicode character. + +UnicodeString value for the specified UTF-16 code point. + -Unicode character value converted in the routine. + +Cardinal value with the UTF-16 code point converted in the routine. + @@ -277,23 +289,24 @@ Next UTF-16 code examined in the method. -Determines if the specified WideString contains valid UTF-16 code points. +Determines if the specified Unicode string contains valid UTF-16 code points.

-Examines the content in AWideStr for valid UTF-16 characters. Calls -IsUTF16CharValid for consecutive code point pairs. +Examines the content in AStr for valid UTF-16 characters. Calls IsUTF16CharValid for consecutive code point pairs.

-True if the specified WideString contains valid UTF-16 code points. +True if the specified Unicode string contains valid UTF-16 code points. -WideString examined in the routine. + +Unicode string examined in the routine. + @@ -383,6 +396,11 @@ Characters in the following Unicode blocks are handled:
ASCII variants in the Halfwidth and Fullwidth Forms block
+ +Modified in LazUtils version 4.0 to dynamically initialize the character +mapping tables once when either UnicodeLowercase or UTF8LowerCaseViaTables is +called. +
@@ -403,6 +421,11 @@ Converts a UTF-8-encoded string to lowercase UTF-8 values using internal case tables.
+ +Modified in LazUtils version 4.0 to dynamically initialize the character +mapping tables once when either UnicodeLowercase or UTF8LowerCaseViaTables is +called. +