Browse Source

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

tags/v2.4.0
RuoYi 4 years ago
parent
commit
c615248ad6
  1. 2
      ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/text/CharsetKit.java

2
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/text/CharsetKit.java

@ -66,7 +66,7 @@ public class CharsetKit @@ -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