dosubot[bot] commented on issue #2701:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2701#issuecomment-2526664697

   <!-- Greeting -->
   @liskymice 你好!我是一个可以帮助你解决软件问题、回答疑问并成为贡献者的机器人。在等待人类维护者的过程中,我会尽力帮助你。
   
   <!-- Answer -->
   I couldn't find any specific issues related to querying non-ASCII 
characters, such as Chinese, in HugeGraph version 1.2.0. However, there are 
some general considerations and troubleshooting steps you can take:
   
   1. **Character Encoding**: Ensure that the data was imported with the 
correct UTF-8 encoding. HugeGraph handles UTF-8 encoding using the 
`UnsafeUtf8Util` class, which should correctly process UTF-8 data during import 
and query execution 
<sup>[[1]](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-store/hg-store-core/src/main/java/org/apache/hugegraph/store/util/UnsafeUtf8Util.java)</sup>.
   
   2. **Query Tools**: If you're using `curl` or similar tools to query the 
database, ensure that the response is not compressed. If garbled characters are 
returned, it might be due to gzip compression. You can decompress the response 
using `gunzip` or use tools like Postman that handle decompression 
automatically 
<sup>[[2]](https://github.com/apache/incubator-hugegraph-doc/blob/master/content/en/docs/guides/faq.md)</sup>.
   
   3. **Configuration**: Check the default character encoding settings in 
HugeGraph's configuration files. The default is usually set to UTF-8, but you 
can verify and modify it in the `log4j2.xml` file if necessary 
<sup>[[3]](https://github.com/apache/incubator-hugegraph-toolchain/blob/master/assembly/static/conf/log4j2.xml)</sup>.
   
   If these steps do not resolve the issue, it might be helpful to check the 
logs for any errors or warnings related to character encoding or consult the 
documentation for any additional configuration options specific to your setup.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/94cfa305-0aa5-40e6-9441-ac0b8263bb4b?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/94cfa305-0aa5-40e6-9441-ac0b8263bb4b?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/94cfa305-0aa5-40e6-9441-ac0b8263bb4b?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/94cfa305-0aa5-40e6-9441-ac0b8263bb4b?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/94cfa305-0aa5-40e6-9441-ac0b8263bb4b?feedback_type=hallucination)
 | 
[Other](https://app.dosu.dev/response-feedback/94cfa305-0aa5-40e6-9441-ac0b8263bb4b?feedback_type=other)</sup>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to