Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_normalize_map (0.18 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";
            assertEquals("UTF-8", encodingHelper.normalize(enc));
    
            enc = "Shift_JIS";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top