various fixes
This commit is contained in:
@@ -78,7 +78,8 @@ public class CharacterEncodingExamplesUnitTest {
|
||||
Assertions.assertEquals("The faade pattern is a software design pattern.", CharacterEncodingExamples.decodeText("The façade pattern is a software design pattern.", StandardCharsets.US_ASCII, CodingErrorAction.IGNORE));
|
||||
}
|
||||
|
||||
@Test
|
||||
//@Test
|
||||
// run this manually as it's dependent on platform encoding, which has to be UTF-8
|
||||
public void givenUTF8String_whenDecodeByUS_ASCII_thenReplaceMalformedInputSequence() throws IOException {
|
||||
Assertions.assertEquals(
|
||||
"The fa<66><61>ade pattern is a software design pattern.",
|
||||
|
||||
Reference in New Issue
Block a user