- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for stringBomOverridesExplicitCharset (0.27 sec)
-
okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt
} @Test fun stringExplicitCharset() { val body = body("00000068000000650000006c0000006c0000006f", "utf-32be") assertThat(body.string()).isEqualTo("hello") } @Test fun stringBomOverridesExplicitCharset() { val body = body("0000ffff00000068000000650000006c0000006c0000006f", "utf-8") assertThat(body.string()).isEqualTo("hello") } @Test fun stringBomUtf8() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13K bytes - Viewed (0)