Home  >  Article  >  Database  >  How to solve navicat garbled characters

How to solve navicat garbled characters

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-05 11:23:567060browse

How to solve navicat garbled characters

[1].Completely garbled code problem

I recently installed Navicat on the ubuntu system, and at first I found that It's a garbled box.

I looked for related blogs on the Internet, and the general solution is: find the start_navicat file in the software installation directory, as shown in the picture:

How to solve navicat garbled characters

Then nano start_navicat will display the file content. At this time, change the encoding format to zh_CN, as shown in the figure:

How to solve navicat garbled characters

Then Ctrl X, Y, Enter to save. At this time, restart the software and the completely garbled problem will be solved.

Then if there are garbled characters in the software, press "Tools"->"Options". The encoding issues in the software are generally set here.

In "General", change " Change "Interface Font" to Noto Sans Mono CJK TC Regular

In "Editor", change "Editor Font" to Noto Sans CJK SC Regular

Related recommendations: " Navicat for mysql usage graphic tutorial

[2]. Table data garbled problem

***In "Record", change the grid font Changed to Noto Sans Mono CJK TC Regular.

I have tried the above fonts one by one, and there should be many others that are effective.

[3]. Query window box garbled problem

After solving the problem of complete garbled characters, I connected the mysql database, method: Connect-> MySQL, and then The following window appears:

How to solve navicat garbled characters

The connection name is arbitrary, the local host is localhost, enter the user name and password, test the connection first, and press the OK key after success.

Then click "New Query" and find that garbled characters appear when entering the sql code (as shown at the cursor).

How to solve navicat garbled characters

In order to solve this problem, you need to right-click the database test first, and then click "Edit Connection", as shown below:

How to solve navicat garbled characters

# #Select "Advanced" in the pop-up window, and you will see "Encoding", from which you can select the appropriate encoding, such as "UTF-8".

How to solve navicat garbled characters

# In this way, the garbled characters in the editing part of the new query will be solved.

The above is the detailed content of How to solve navicat garbled characters. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn