修正转换字符串的目标字符集属性

master
RuoYi 4 years ago
parent 1791d7cf40
commit 2797c1eb3a
  1. 2
      ruoyi-common/src/main/java/com/ruoyi/common/core/text/CharsetKit.java

@ -66,7 +66,7 @@ public class CharsetKit
if (null == destCharset)
{
srcCharset = StandardCharsets.UTF_8;
destCharset = StandardCharsets.UTF_8;
}
if (StringUtils.isEmpty(source) || srcCharset.equals(destCharset))

Loading…
Cancel
Save