Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fromWindowsMapping (0.1 sec)

  1. src/test/java/org/codelibs/core/convert/StringConversionUtilTest.java

            assertNull(StringConversionUtil.fromWindowsMapping(null));
            assertEquals("", StringConversionUtil.fromWindowsMapping(""));
            assertEquals("abc 123", StringConversionUtil.fromWindowsMapping("abc 123"));
            assertEquals("abc\uFF5E\u2225\uFF0D\uFFE0\uFFE1\uFFE2",
                    StringConversionUtil.fromWindowsMapping("abc\u301C\u2016\u2212\u00A2\u00A3\u00AC"));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

        }
    
        /**
         * Windows固有のマッピングルールで作成された文字列を修正します。
         *
         * @param source
         *            Windows固有のマッピングルールで作成された文字列
         * @return 修正された文字列
         */
        public static String fromWindowsMapping(final String source) {
            if (isEmpty(source)) {
                return source;
            }
            final char[] array = source.toCharArray();
            for (int i = 0; i < array.length; ++i) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top