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

This commit is contained in:
RuoYi 2020-11-30 10:04:07 +08:00
parent e4a1e87a9c
commit 14640dfe6d

View File

@ -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))