- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for addEncodingMapping (0.24 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java
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"; assertEquals("UTF-8", encodingHelper.normalize(enc)); enc = "Shift_JIS"; assertEquals("Shift_JIS", encodingHelper.normalize(enc));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java
* * @param source the source encoding name * @param target the target encoding name * @throws IllegalArgumentException if source or target is blank */ public void addEncodingMapping(final String source, final String target) { if (StringUtil.isBlank(source) || StringUtil.isBlank(target)) { throw new IllegalArgumentException("Source and target encodings must not be blank."); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.2K bytes - Viewed (0)