Adding another UTF8 High Surrogate test

This commit is contained in:
Joakim Erdfelt 2012-10-19 11:18:06 -07:00
parent a1d559e863
commit 3e07bccb71
1 changed files with 3 additions and 2 deletions

View File

@ -46,9 +46,10 @@ public class Utf8StringBuilderInvalidUtfTest
data.add(new String[]{"fbbfbfbfbf"});
data.add(new String[]{"10FFFF"});
data.add(new String[]{"CeBaE1BdB9Cf83CeBcCeB5EdA080656469746564"});
// use of UTF-16 High Surrogate (in codepoint form)
// use of UTF-16 High Surrogates (in codepoint form)
data.add(new String[]{"da07"});
// decoded UTF-16 surrogate "\ud807" (in UTF-8 form)
data.add(new String[]{"d807"});
// decoded UTF-16 High Surrogate "\ud807" (in UTF-8 form)
data.add(new String[]{"EDA087"});
return data;
}