We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509c2f5 commit 62de72cCopy full SHA for 62de72c
entries/dcornelius/src/uChallengeWithDictionary.pas
@@ -69,8 +69,7 @@ procedure ChallengeWithDictionary;
69
70
function TUTF8CustomComparer.Compare(const Left, Right: string): Integer;
71
begin
72
- // Convert UTF-8 strings to UnicodeString for comparison
73
- Result := CompareStr(UTF8ToWideString(Left), UTF8ToWideString(Right));
+ Result := CompareStr(Left, Right);
74
end;
75
76
end.
0 commit comments