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

This commit is contained in:
RuoYi 2020-11-30 10:31:11 +08:00
parent 1791d7cf40
commit 2797c1eb3a
1 changed files with 1 additions and 1 deletions

View File

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