- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Shift_JIS (0.05 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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)