Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 696 for CHARSET (0.12 sec)

  1. android/guava/src/com/google/common/base/Charsets.java

       * java.nio.charset.StandardCharsets#ISO_8859_1} instead.
       *
       */
      public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
    
      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#UTF_8} instead.
       *
       */
      public static final Charset UTF_8 = Charset.forName("UTF-8");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/UriTextResourceTest.groovy

            extractCharacterEncoding('content/unknown', Charset.defaultCharset()) == Charset.defaultCharset()
            extractCharacterEncoding(null, Charset.defaultCharset()) == Charset.defaultCharset()
            extractCharacterEncoding('text/html', null) == null
            extractCharacterEncoding('text/html; charset=UTF-8', null).name() == 'UTF-8'
            extractCharacterEncoding('text/html; other=value; other="value"; charset=US-ASCII', null).name() == 'US-ASCII'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Resources.java

       * @param url the URL to read from
       * @param charset the charset used to decode the input stream; see {@link Charsets} for helpful
       *     predefined constants
       * @return a string containing all the characters from the URL
       * @throws IOException if an I/O error occurs.
       */
      public static String toString(URL url, Charset charset) throws IOException {
        return asCharSource(url, charset).read();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. 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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

          }
        };
    
        abstract String read(ByteSource byteSource, Charset cs) throws IOException;
      }
    
      @Param({"UTF-8"})
      String charsetName;
    
      @Param ReadStrategy strategy;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      Charset charset;
      ByteSource data;
    
      @BeforeExperiment
      public void setUp() {
        charset = Charset.forName(charsetName);
        StringBuilder sb = new StringBuilder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/MediaType.kt

      internal val parameterNamesAndValues: Array<String>,
    ) {
      /**
       * Returns the charset of this media type, or [defaultValue] if either this media type doesn't
       * specify a charset, or if its charset is unsupported by the current runtime.
       */
      @JvmOverloads
      fun charset(defaultValue: Charset? = null): Charset? {
        val charset = parameter("charset") ?: return defaultValue
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/CharsetsTest.java

      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testIso88591() {
        assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1);
      }
    
      public void testUtf8() {
        assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUtf16be() {
        assertEquals(Charset.forName("UTF-16BE"), Charsets.UTF_16BE);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/caching/internal/packaging/BuildCacheEntryPackingIntegrationTest.groovy

            def outputFile = file("dir", fileName)
    
            buildFile << """
                task printCharsetProperties {
                    doLast {
                        println "> Default charset: \${java.nio.charset.Charset.defaultCharset()}"
                        println "> Storing file in cache: $fileName"
                    }
                }
    
                task createFile {
                    dependsOn printCharsetProperties
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Resources.java

       * @param url the URL to read from
       * @param charset the charset used to decode the input stream; see {@link Charsets} for helpful
       *     predefined constants
       * @return a string containing all the characters from the URL
       * @throws IOException if an I/O error occurs.
       */
      public static String toString(URL url, Charset charset) throws IOException {
        return asCharSource(url, charset).read();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. docs/en/docs/reference/responses.md

                - chunk_size
                - charset
                - status_code
                - media_type
                - body
                - background
                - raw_headers
                - render
                - init_headers
                - headers
                - set_cookie
                - delete_cookie
    
    ::: fastapi.responses.HTMLResponse
        options:
            members:
                - charset
                - status_code
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top