- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid (0.64 sec)
-
okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt
import org.junit.jupiter.api.Test class MediaTypeJvmTest : MediaTypeGetTest() { override fun MediaType.charsetName(): String? = this.charset()?.name() @Test fun testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid() { val mediaType = "text/plain;charset=\"'utf-8'\"".toMediaType() if (isAndroid) { // Charset.forName("'utf-8'") == UTF-8 assertEquals("UTF-8", mediaType.charsetName()) } else {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0)