Skip to content
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

duckdb grid lines does not align when there are Chinese characters and header #2576

Open
l1t1 opened this issue Mar 12, 2024 · 5 comments
Open

Comments

@l1t1
Copy link

l1t1 commented Mar 12, 2024

Versions

ConEmu build: 230724 x32/x64
OS version: Windows 7 x64
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): cmd

Problem description

I use conemu to run duckdb 0.10
the grid lines of body does not align when there are Chinese characters and header is also displayed. see attchment 001 and 002
if I scroll the windows, when the header is moved out the window, the grid lines of body aligned automatically. see attchment 003

Steps to reproduce

  1. run duckdb
  2. input select '中文' as a;
  3. input select '中文' as a from range(20);

Actual results

see attachment

Expected results

lines always aligned

Additional files

001
002
003

Settings,
screenshots,
logs,
etc.

@Maximus5
Copy link
Owner

Could you please make screen dumps (SysMenu -> Debug -> Dump screen) with contents matching screenshots 1, 2 and 3?

@Maximus5
Copy link
Owner

2024-03-21-23-44-47

I tried to run your command.
It looks like something should be configured in duckdb. Terminal can show Chinese (see input), but in the table there are "??".

@l1t1
Copy link
Author

l1t1 commented Mar 25, 2024

as far as I know, duckdb doesn't have the config way of character.
dump files
1-2-3.zip

@l1t1
Copy link
Author

l1t1 commented Mar 25, 2024

and same question as #2575 (comment) told,
select '中文' as a from range(20); shows overlap
2024-03-25_155132

@l1t1
Copy link
Author

l1t1 commented Mar 25, 2024

after uncheck 'compress long strings to fit space`,
it displayed without the right grid line as following, when scroll up , seems better than 2nd picture of the main thread
2024-03-25_155614
2024-03-25_155700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants