Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 745 for utf8 (0.03 sec)

  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"));
        }
    
        public void test_run_withDifferentCharsets() throws InterruptedException {
            String input = "UTF-16 test";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. 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.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. 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");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. 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
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

              // Mostly 2-byte UTF-8 sequences - "European" text
              return 0x800;
            } else if (userFriendly.matches("(?i)(?:Chinese|Han|Asian|BMP)")) {
              // Mostly 3-byte UTF-8 sequences - "Asian" text
              return Character.MIN_SUPPLEMENTARY_CODE_POINT;
            } else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) {
              // Mostly 4-byte UTF-8 sequences - "rare exotic" text
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            FtpInfo ftpInfo;
    
            try {
                ftpInfo = new FtpClient.FtpInfo(null, Constants.UTF_8);
                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
            try {
                ftpInfo = new FtpClient.FtpInfo("", Constants.UTF_8);
                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. 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;
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/CharsetsTest.java

      public void testUtf16be() {
        assertEquals(Charset.forName("UTF-16BE"), Charsets.UTF_16BE);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUtf16le() {
        assertEquals(Charset.forName("UTF-16LE"), Charsets.UTF_16LE);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUtf16() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            content = "...;charset=UTF-8\"...";
            assertEquals("UTF-8", htmlTransformer.parseCharset(content));
    
            content = "...; charset=UTF-8\"...";
            assertEquals("UTF-8", htmlTransformer.parseCharset(content));
    
            content = "...;charset = UTF-8\"...";
            assertEquals("UTF-8", htmlTransformer.parseCharset(content));
    
            content = "...;charset=UTF-8 \"...";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ResourcesTest.java

        assertEquals(I18N, Resources.toString(resource, UTF_8));
        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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top