修正转换字符串的目标字符集属性
This commit is contained in:
parent
1791d7cf40
commit
2797c1eb3a
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue