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

Query the table, the table has the Chinese language to display the garbled code #833

Closed
cyongk opened this issue Jan 7, 2018 · 3 comments

Comments

@cyongk
Copy link

cyongk commented Jan 7, 2018

Query the table, the table has the Chinese language to display the garbled code
1

@fpietka
Copy link
Member

fpietka commented Jan 8, 2018

It may be related to Windows, as I am using it on OSX with Japanese Kanji without any issue.
I'll check later on linux.

@cyongk
Copy link
Author

cyongk commented Jan 8, 2018

I'm using the Chinese language of the Windows 10 professional x64 system.
Is the character encoding used by pgcli UTF-8?

@dbaty
Copy link
Member

dbaty commented Nov 15, 2023

Someone else recently reported the same issue in #1411. @cyongk : if you're still around and interested in getting this fixed, do you have a way to reproduce this bug? I don't speak nor write Chinese, so my naïve attempt did not produce anything suspicious when running in pgcli:

> create table chinese_chars (t text);
CREATE TABLE
> insert into chinese_chars (t) values ('繁体字')
INSERT 0 1
> select * from chinese_chars
+--------+
| t      |
|--------|
| 繁体字  |
+--------+
SELECT 1

I am looking for a particular insert into query that would trigger this bug.

@j-bennet j-bennet closed this as completed Dec 4, 2024
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

4 participants