In SQL Commander, if there is Chinese in the SQL statement, the display is ' mouth port '.
The solution is as follows:
Select PMingLiU in Tools->tool properties->general->appearance->fonts->sql Editor and choose PMingLiU on the grid as well.
When configured, Chinese can be displayed normally.
Query results in Chinese garbled:
in the connection URL, increase the
db_locale=en_us.819; client_locale=en_us.57372; newcodeset=gbk,8859-1,819
Example:
jdbc:informix-sqli://:/:informixserver=;D b_locale=en_us.819; client_locale=en_us.57372; newcodeset=gbk,8859-1,819
Add a character set to the database URL, where the format is not the same as in the code
Writing in Java:
- Jdbc:sybase:tds:hostname:port/dbname?charset=cp936&jconnect_version=4
Dbvisualizer in:
- jdbc:jtds:sybase://10.135.2.2:5000;databasename=abis;charset=cp936
There is also a way to join JDBC:JTDS:SYBASE://10.0.2.15:5000;DATABASENAME=QCSOFT;CHARSET=GB2312 server name as Databaseurl: 10.0.2.15 Port : 5000 database name: Qcsoft font Set: gb2312 is OK.
Using Dbvisualizer has always been a problem, that is, Chinese characters are always "mouth". The solution is: Dbvisualizer directory has a subdirectory of the JRE, delete the JRE subdirectory and found that Dbvisualizer will be able to display the normal Chinese. The Dbvisualizer may be started first by default with its own JRE, not the system's JRE.
Dbvisualizer solve Chinese garbled problem