- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 408 for charset (0.16 sec)
-
okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt
assertEquals( "UTF-8", noCharset.charset(Charsets.UTF_8)!!.name(), ) assertEquals( "US-ASCII", noCharset.charset(Charsets.US_ASCII)!!.name(), ) val charset = parse("text/plain; charset=iso-8859-1") assertEquals( "ISO-8859-1", charset.charset(Charsets.UTF_8)!!.name(), ) assertEquals( "ISO-8859-1",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/base/Charsets.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; /** * Contains constant definitions for the six standard {@link Charset} instances, which are * guaranteed to be supported by all Java platform implementations. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 25 23:55:36 UTC 2024 - 3.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/internal.kt
} } internal fun MediaType?.chooseCharset(): Pair<Charset, MediaType?> { var charset: Charset = Charsets.UTF_8 var finalContentType: MediaType? = this if (this != null) { val resolvedCharset = this.charset() if (resolvedCharset == null) { charset = Charsets.UTF_8 finalContentType = "$this; charset=utf-8".toMediaTypeOrNull() } else { charset = resolvedCharset } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
assertThat(MediaType.parse("text/plain; charset =utf-8").charset()).hasValue(UTF_8); assertThat(MediaType.parse("text/plain; charset= utf-8").charset()).hasValue(UTF_8); assertThat(MediaType.parse("text/plain; charset = utf-8").charset()).hasValue(UTF_8); assertThat(MediaType.parse("text/plain;charset =utf-8").charset()).hasValue(UTF_8); } public void testGetCharset() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 20.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt
* @param charset which charset to use, null equals UTF-8. */ internal fun String.canonicalizeWithCharset( pos: Int = 0, limit: Int = length, encodeSet: String, alreadyEncoded: Boolean = false, strict: Boolean = false, plusIsSpace: Boolean = false, unicodeAllowed: Boolean = false, charset: Charset? = null, ): String { var codePoint: Int var i = pos
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
imports = "com.google.common.io.Files") public static void copy(File from, Charset charset, Appendable to) throws IOException { asCharSource(from, charset).copyTo(to); } /** * Appends a character sequence (such as a string) to a file using the given character set. * * @param from the character sequence to append * @param to the destination file
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/FormBody.kt
plusIsSpace = false, charset = charset, ) values += value.canonicalizeWithCharset( encodeSet = FORM_ENCODE_SET, // Plus is encoded as `%2B`, space is encoded as plus. plusIsSpace = false, charset = charset, ) } fun addEncoded( name: String,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/InputStreamThread.java
private final Consumer<String> outputCallback; @Deprecated public InputStreamThread(final InputStream is, final String charset) { this(is, Charset.forName(charset), MAX_BUFFER_SIZE, null); } public InputStreamThread(final InputStream is, final Charset charset, final int bufferSize, final Consumer<String> outputCallback) { super("InputStreamThread"); this.bufferSize = bufferSize;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Challenge.kt
val charset: Charset get() { val charset = authParams["charset"] if (charset != null) { try { return Charset.forName(charset) } catch (ignore: Exception) { } } return ISO_8859_1 } constructor(scheme: String, realm: String) : this(scheme, singletonMap("realm", realm)) init { val newAuthParams = mutableMapOf<String?, String>()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.crawler; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; /** * @author shinsuke * */ public final class Constants { public static final String GET_METHOD = "GET"; public static final String HEAD_METHOD = "HEAD";
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K bytes - Viewed (0)