vesoft-inc / nebula-java

Client API and data importer of Nebula Graph in Java
Apache License 2.0
164 stars 121 forks source link

修正中文乱码 #561

Closed cjdxhjj closed 6 months ago

cjdxhjj commented 7 months ago

What type of PR is this?

What problem(s) does this PR solve?

Issue(s) number:

Description:

写入有中文时,默认使用getBytes()获取字符数组,在windows下默认为gbk,导致字符编码不一致,写入乱码

How do you solve it?

Special notes for your reviewer, ex. impact of this fix, design document, etc:

CLAassistant commented 7 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


petzold seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Nicole00 commented 6 months ago

Thanks for your contribution~ Could you please process the conflict and add new interfaces on the base of original interfaces? That means DO NOT change the original interfaces, so the change will not confluence old users.

cjdxhjj commented 6 months ago

ok