Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
2797c1eb
Commit
2797c1eb
authored
Nov 30, 2020
by
RuoYi
Browse files
修正转换字符串的目标字符集属性
parent
1791d7cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-common/src/main/java/com/ruoyi/common/core/text/CharsetKit.java
View file @
2797c1eb
...
@@ -66,7 +66,7 @@ public class CharsetKit
...
@@ -66,7 +66,7 @@ public class CharsetKit
if
(
null
==
destCharset
)
if
(
null
==
destCharset
)
{
{
src
Charset
=
StandardCharsets
.
UTF_8
;
dest
Charset
=
StandardCharsets
.
UTF_8
;
}
}
if
(
StringUtils
.
isEmpty
(
source
)
||
srcCharset
.
equals
(
destCharset
))
if
(
StringUtils
.
isEmpty
(
source
)
||
srcCharset
.
equals
(
destCharset
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment