Skip to content

Commit

Permalink
[BugFix] fix character set issues of string literal in jdbc (#51177)
Browse files Browse the repository at this point in the history
Signed-off-by: ShaoxunLi <[email protected]>
  • Loading branch information
ShaoxunLi authored Sep 20, 2024
1 parent 45d72ac commit 00444d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public void parseMysqlParam(ByteBuffer data) {
}
byte[] bytes = new byte[strLen];
data.get(bytes);
value = new String(bytes);
value = new String(bytes, StandardCharsets.UTF_8);
}

public static StringLiteral create(String value) {
Expand Down

0 comments on commit 00444d0

Please sign in to comment.