Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 0000feff00000068000000650000006c0000006c0000006f (0.24 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

        assertThat(body.string()).isEqualTo("hello")
      }
    
      @Test
      fun stringBomOverridesExplicitCharset() {
        val body = body("0000feff00000068000000650000006c0000006c0000006f", "utf-8")
        assertThat(body.string()).isEqualTo("hello")
      }
    
      @Test
      fun stringBomUtf8() {
        val body = body("efbbbf68656c6c6f")
        assertThat(body.string()).isEqualTo("hello")
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top