+Used in the implementation of the TStringListUTF8Fast.InsertItem method. +
+@@ -2353,6 +2381,9 @@ the compared values is stored.
@@ -2385,6 +2416,9 @@ language-specific sorting. The return value contains the relative sort order for the compared values, as defined for UTF8CompareStr.
-TStringListUTF8Fast is a TStringList descendant which -uses UTF8CompareLatinTextFast for fast comparison of values in the class -instance. +When data is Unicode, it switches to slower AnsiCompare functions. The switch +is managed by setting the UseLocale property/option and should not be changed +by the user.
-Calls the UTF8CompareLatinTextFast routine to compare the values in -s1 and s2 when the CaseSensitive property is set to -False. Otherwise, the Utf8CompareStr routine is called to compare the -string values. -
--The return value is a pointer to an Integer with the relative order for the -compared values. <0 indicates s1 comes before s2. 0 indicated the compared -values are the same. >0 indicates s2 comes after s1. +Create is the overridden constructor for the class instance. It +calls the inherited method on entry to set the default encoding and options +used in the class instance. Create ensures that the UseLocale property is set +to False to allow fast comparisons for ASCII data stored in the string +list.