Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Shift_JIS (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java

            enc = "Shift_JIS";
            assertEquals("Shift_JIS", encodingHelper.normalize(enc));
    
            enc = "S-JIS";
            assertEquals("S-JIS", encodingHelper.normalize(enc));
        }
    
        public void test_normalize_map() {
            String enc;
    
            encodingHelper.addEncodingMapping("S-JIS", "Shift_JIS");
    
            enc = "UTF-8";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/test/resources/org/codelibs/core/xml/test1.xml

    <?xml version="1.0" encoding="Shift_JIS"?>
    
    <tag1 attr1="aaa" attr2="bbb">
      111
      222
      <tag2>c c </tag2>
      <tag2>ddd</tag2>
      <tag3>
        <tag4>eee</tag4>
        <tag5>ddd</tag5>
      </tag3>
      333
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Sun Dec 28 09:01:06 UTC 2014
    - 200 bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            assertEquals("UTF-8", htmlTransformer.parseCharset(content));
    
            content = "...;charset=Shift_JIS\"...";
            assertEquals("Shift_JIS", htmlTransformer.parseCharset(content));
    
            content = "...;Charset=Shift_JIS\"...";
            assertEquals("Shift_JIS", htmlTransformer.parseCharset(content));
    
            content = "...;charset=EUC-JP\"...";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/resources/extractor/test_sjis.xml

    <?xml version="1.0" encoding="Shift_JIS"?>
    <a>
    <b>
    <d>�^�C�g��</d>
    </b>
    <c>
    �e�X�g
    </c>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 93 bytes
    - Viewed (0)
  5. fess-crawler/src/test/resources/extractor/test_sjis.html

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"/>
    <title>�^�C�g��</title>
    </head>
    <body>
    �e�X�g
    </body>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 149 bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/CopyUtilTest.java

         * @throws Exception
         */
        @Test
        public void testFileToFile_Encoding() throws Exception {
            int result = copy(inputFile, "UTF-8", outputFile, "Shift_JIS");
            assertThat(result, is(urlString.length()));
    
            result = copy(outputFile, "Shift_JIS", writer);
            assertThat(writer.toString(), is(urlString));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = xmlExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("Shift_JIS", encoding);
        }
    
        public void test_getEncoding_utf8bom() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/xml/test_utf8bom.xml");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = htmlExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("Shift_JIS", encoding);
        }
    
        public void test_getHtml_null() {
            try {
                htmlExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = htmlXpathExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("Shift_JIS", encoding);
        }
    
        public void test_getHtml_null() {
            try {
                htmlXpathExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/filter/EncodingFilterTest.java

            assertEquals(1, paramMap.size());
            assertEquals("テスト", paramMap.get("a")[0]);
    
            paramMap = filter.parseQueryString("a=%83e%83X%83g", "Shift_JIS");
            assertEquals(1, paramMap.size());
            assertEquals("テスト", paramMap.get("a")[0]);
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top