Lazutils add test for r65246 #7a69a2a702 (UTF-16 surrogate halves).

git-svn-id: trunk@65247 -
This commit is contained in:
bart 2021-06-16 08:42:49 +00:00
parent 7a69a2a702
commit c144a64fe3

View File

@ -165,6 +165,7 @@ begin
t(#$f0#$80#$80#$80,0,'invalid: 0 encoded as 4 byte');
t(#$f0#$8f#$bf#$bf,0,'invalid: $ffff encoded as 4 byte');
t(#$F7#$BF#$BF#$BF,0,'invalid 4 byte out of range');
t(#$ED#$A0#$80,0,'3 byte encoding for reserved UTF-16 surrogate halve');
end;
procedure TTestLazUTF8.TestFindUnicodeToUTF8;