@DataProvider(name = "decode") public Object[][] getDecodeParameters() { returnnew Object[][]{
{"The string \u00FC@foo-bar"}, // the string from javadoc example
{""}, // an empty string
{"x"}, // a string of length 1
{"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-.*"}, // the string of characters should remain the same
{charactersRange('\u0000', '\u007F')}, // a string of characters from 0 to 127
{charactersRange('\u0080', '\u00FF')}, // a string of characters from 128 to 255
{"\u0100 \u0101 \u0555 \u07FD \u07FF"}, // a string of Unicode values can be expressed as 2 bytes
{"\u8000 \u8001 \uA000 \uFFFD \uFFFF"}, // a string of Unicode values can be expressed as 3 bytes
};
}
String charactersRange(char c1, char c2) {
StringBuilder sb = new StringBuilder(c2 - c1); for (char c = c1; c < c2; c++) {
sb.append(c);
}
return sb.toString();
}
}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.16Bemerkung:
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.