pgcli
pgcli copied to clipboard
Query the table, the table has the Chinese language to display the garbled code
Query the table, the table has the Chinese language to display the garbled code
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.
I'm using the Chinese language of the Windows 10 professional x64 system. Is the character encoding used by pgcli UTF-8?
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.