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 45c71b7 commit 800bfcaCopy full SHA for 800bfca
1 file changed
src/test/org/apache/commons/codec/binary/Base64Test.java
@@ -93,8 +93,8 @@ public void testBase64() {
93
encodedContent = StringUtils.newStringUtf8(encodedBytes);
94
assertTrue("encoding hello world", encodedContent.equals("SGVsbG8gV29ybGQ="));
95
96
- // bogus characters to decode (to skip actually)
97
- byte[] decode = b64.decode("SGVsbG{������}8gV29ybGQ=");
+ // bogus characters to decode (to skip actually) {e-acute*6}
+ byte[] decode = b64.decode("SGVsbG{\u00e9\u00e9\u00e9\u00e9\u00e9\u00e9}8gV29ybGQ=");
98
String decodeString = StringUtils.newStringUtf8(decode);
99
assertTrue("decode hello world", decodeString.equals("Hello World"));
100
}
0 commit comments