vesoft-inc / nebula-java

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

allow to config the charset for query statement #563

Closed Nicole00 closed 6 months ago

Nicole00 commented 7 months ago

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.