Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 982 for utf8 (0.1 seconds)

  1. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 0, null);
            thread.start();
            thread.join(1000);
    
            assertFalse(thread.contains("test"));
        }
    
        @Test
        public void test_run_withDifferentCharsets() throws InterruptedException {
            String input = "UTF-16 test";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/StringsTest.java

                byte[] utf8Bytes = Strings.getBytes(TEST_STRING, StandardCharsets.UTF_8);
                byte[] utf16Bytes = Strings.getBytes(TEST_STRING, StandardCharsets.UTF_16LE);
    
                // Then
                assertNotNull(utf8Bytes, "UTF-8 bytes should not be null");
                assertNotNull(utf16Bytes, "UTF-16LE bytes should not be null");
                assertTrue(utf8Bytes.length > 0, "UTF-8 bytes should not be empty");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/CoreLibConstants.java

    /**
     * Constants class.
     *
     * @author shinsuke
     *
     */
    public class CoreLibConstants {
    
        /**
         * UTF-8
         */
        public static final String UTF_8 = "UTF-8";
    
        /**
         * UTF-8 Charset.
         */
        public static final Charset CHARSET_UTF_8 = Charset.forName(UTF_8);
    
        /**
         * ISO 8601 basic format: yyyyMMdd'T'HHmmss.SSSZ
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/Charsets.java

       */
      @Deprecated public static final Charset ISO_8859_1 = StandardCharsets.ISO_8859_1;
    
      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * @deprecated Use {@link StandardCharsets#UTF_8} instead.
       */
      @Deprecated public static final Charset UTF_8 = StandardCharsets.UTF_8;
    
      /**
       * UTF-16BE: sixteen-bit UCS Transformation Format, big-endian byte order.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Charsets.java

       */
      @Deprecated public static final Charset ISO_8859_1 = StandardCharsets.ISO_8859_1;
    
      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * @deprecated Use {@link StandardCharsets#UTF_8} instead.
       */
      @Deprecated public static final Charset UTF_8 = StandardCharsets.UTF_8;
    
      /**
       * UTF-16BE: sixteen-bit UCS Transformation Format, big-endian byte order.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/CharsetsTest.java

        assertThat(Charsets.UTF_8).isEqualTo(Charset.forName("UTF-8"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUtf16be() {
        assertThat(Charsets.UTF_16BE).isEqualTo(Charset.forName("UTF-16BE"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUtf16le() {
        assertThat(Charsets.UTF_16LE).isEqualTo(Charset.forName("UTF-16LE"));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 12:37:39 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                mappings = new String(is1.readAllBytes(), StandardCharsets.UTF_8);
            }
    
            try (InputStream is2 = getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest.json")) {
                assertNotNull("Settings resource should exist", is2);
                settings = new String(is2.readAllBytes(), StandardCharsets.UTF_8);
            }
    
            assertNotNull("Mappings should be loaded", mappings);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java

         * A constant for "false".
         */
        public static final String FALSE = "false";
    
        /**
         * A constant for "UTF-8".
         */
        public static final String UTF_8 = "UTF-8";
    
        /**
         * A constant for UTF-8 charset.
         */
        public static final Charset UTF_8_CHARSET = StandardCharsets.UTF_8;
    
        /**
         * The default charset.
         */
        public static final Charset DEFAULT_CHARSET;
    
        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        assertThat(Resources.toString(resource, UTF_8)).isEqualTo(I18N);
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8));
      }
    
      public void testReadLines() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/ResourcesTest.java

        assertThat(Resources.toString(resource, UTF_8)).isEqualTo(I18N);
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8));
      }
    
      public void testReadLines() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
Back to Top