Mayil-AI-Sandbox / kuzudb_jan15

MIT License
0 stars 0 forks source link

UTF-8 handling in shell #61

Open meido opened 4 months ago

meido commented 4 months ago

If i type some utf-8(non-ascii characters in the shell) followed by some white spaces, a weird period . will appear after the text. E.g. I type: Firstly: type: 这是一串中文字符 Then type: multiple white spaces.

The period appears.

kuzu> 这是一串中文字符。
The period is generated automatically.

mayil-ai[bot] commented 4 months ago

Summary: Shell adds a period after entering non-ASCII characters followed by white spaces.

Possible Solution

Based on the provided information, the issue seems to be related to the handling of UTF-8 input and the automatic insertion of a period character when multiple white spaces are entered after non-ASCII characters. To address this issue:

Code snippets to check