Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to config the charset for query statement #563

Closed
Nicole00 opened this issue Dec 1, 2023 · 0 comments · Fixed by #564
Closed

allow to config the charset for query statement #563

Nicole00 opened this issue Dec 1, 2023 · 0 comments · Fixed by #564
Labels
affects/none PR/issue: this bug affects none version. process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected

Comments

@Nicole00
Copy link
Contributor

Nicole00 commented Dec 1, 2023

for now, the execute interface pass the statement to bytes using the platform's default charset, if the charset is not utf-8, then there maybe some problem for Chinese. client.executeWithParameter(sessionID, stmt.getBytes(), parameterMap)

So we should use the UTF8 as default charset and allow users to config the charset.

@Nicole00 Nicole00 added the type/bug Type: something is unexpected label Dec 1, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Dec 1, 2023
@github-actions github-actions bot added the process/fixed Process of bug label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant