Character set reason cannot display Chinese normally

environment
System platform: Linux x86-64 Red Hat Enterprise Linux 7
Version: 4.1.1
symptom

highgo=# select * from student;

 no | student_name | age

----+--------------+-----

  2 | Minyoung | 13

  1 | Liaoqiang | 15

(2 rows)


problem causes

The reason is that the client character set and the database character set do not match. PostgreSQL does not do character set conversion by default. If the database is a UTF8 character set, the Chinese character set of the general terminal will be set to GBK 


solution

For detailed solutions, please log in to [Hangao Technical Support Platform] to view

https://support.highgo.com/#/index/docContent/0e2dba053bf874

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324585326&siteId=291194637
Recommended