-
Notifications
You must be signed in to change notification settings - Fork 383
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
[Bug report] fileset commet meet garbled data #3165
Comments
@hanwxx can you please help to fix this issue? |
So seems like some string codec issue happens between client and server. |
I have found the source problem, will open a PR to fix this later. |
jerryshao
pushed a commit
that referenced
this issue
Apr 30, 2024
… UTF-8 (#3179) ### What changes were proposed in this pull request? Currently in the java client, the json result is not encoded with `UTF-8` when requesting the server, which will cause some Chinese characters to be garbled.It will use `ISO_8859_1` as default. This PR fixed this. ![image](https://github.com/datastrato/gravitino/assets/26177232/9342dd32-1ded-4670-a3c7-37d9a5673955) ### Why are the changes needed? Fix: #3165 ### How was this patch tested? Add some ITs. --------- Co-authored-by: xiaojiebao <[email protected]>
github-actions bot
pushed a commit
that referenced
this issue
Apr 30, 2024
… UTF-8 (#3179) ### What changes were proposed in this pull request? Currently in the java client, the json result is not encoded with `UTF-8` when requesting the server, which will cause some Chinese characters to be garbled.It will use `ISO_8859_1` as default. This PR fixed this. ![image](https://github.com/datastrato/gravitino/assets/26177232/9342dd32-1ded-4670-a3c7-37d9a5673955) ### Why are the changes needed? Fix: #3165 ### How was this patch tested? Add some ITs. --------- Co-authored-by: xiaojiebao <[email protected]>
jerryshao
added a commit
that referenced
this issue
Apr 30, 2024
… UTF-8 (#3240) ### What changes were proposed in this pull request? Currently in the java client, the json result is not encoded with `UTF-8` when requesting the server, which will cause some Chinese characters to be garbled.It will use `ISO_8859_1` as default. This PR fixed this. ![image](https://github.com/datastrato/gravitino/assets/26177232/9342dd32-1ded-4670-a3c7-37d9a5673955) ### Why are the changes needed? Fix: #3165 ### How was this patch tested? Add some ITs. Co-authored-by: xloya <[email protected]> Co-authored-by: xiaojiebao <[email protected]>
diqiu50
pushed a commit
to diqiu50/gravitino
that referenced
this issue
Jun 13, 2024
…ithout UTF-8 (apache#3179) ### What changes were proposed in this pull request? Currently in the java client, the json result is not encoded with `UTF-8` when requesting the server, which will cause some Chinese characters to be garbled.It will use `ISO_8859_1` as default. This PR fixed this. ![image](https://github.com/datastrato/gravitino/assets/26177232/9342dd32-1ded-4670-a3c7-37d9a5673955) ### Why are the changes needed? Fix: apache#3165 ### How was this patch tested? Add some ITs. --------- Co-authored-by: xiaojiebao <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
main branch
Describe what's wrong
Create or update fileset comment,when inputting Chinese, the data taken out is garbled.
example:
input: 这是fileset中文描述
output: ??fileset????
Error message and/or stacktrace
no
How to reproduce
create fileset:
get fileset:
data in mysql:
Additional context
No response
The text was updated successfully, but these errors were encountered: