- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for parseCharset (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java
content = "...;charset=Shift_JIS\"..."; assertEquals("Shift_JIS", htmlTransformer.parseCharset(content)); content = "...;Charset=Shift_JIS\"..."; assertEquals("Shift_JIS", htmlTransformer.parseCharset(content)); content = "...;charset=EUC-JP\"..."; assertEquals("EUC-JP", htmlTransformer.parseCharset(content)); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 13.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
final int size = bis.read(buffer); if (size != -1) { final String content = new String(buffer, 0, size); encoding = parseCharset(content); } } catch (final IOException e) { throw new CrawlingAccessException("Could not load a content.", e); } return normalizeEncoding(encoding); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 28.5K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
} MediaType mediaType = new MediaType(type, subtype, builder.build()); // if the attribute isn't charset, we can just inherit the current parsedCharset if (!normalizedAttribute.equals(CHARSET_ATTRIBUTE)) { mediaType.parsedCharset = this.parsedCharset; } // Return one of the constants if the media type is a known type. @SuppressWarnings("GetOrDefaultNotNull") // getOrDefault requires API Level 24
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0) -
android/guava/src/com/google/common/net/MediaType.java
} MediaType mediaType = new MediaType(type, subtype, builder.build()); // if the attribute isn't charset, we can just inherit the current parsedCharset if (!normalizedAttribute.equals(CHARSET_ATTRIBUTE)) { mediaType.parsedCharset = this.parsedCharset; } // Return one of the constants if the media type is a known type. @SuppressWarnings("GetOrDefaultNotNull") // getOrDefault requires API Level 24
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0)