Home >Database >navicat >The ultimate solution to the Navicat garbled problem under Ubuntu

The ultimate solution to the Navicat garbled problem under Ubuntu

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-11-01 13:20:084843browse

The ultimate solution to the Navicat garbled problem under Ubuntu

The garbled characters of Navicat under Ubuntu can be roughly divided into two categories. One is the garbled characters of the Navicat software itself, and the other is the garbled characters after linking to the database, including editors, tables, etc. garbled characters, the following provides guidance on solving these two types of garbled characters!

Environment information: ubuntu:18.04 navicat:12.1.10

1. Navicat’s own garbled solution

Need to edit navicat’s startup script, start_navicat As shown below, just modify export LANG="zh_CN.UTF-8".

The ultimate solution to the Navicat garbled problem under Ubuntu

#2. Solving the garbled characters after connecting to the database

First, when connecting to the database, in the advanced options, set the encoding to UTF -8, enter the interface after successful connection.

The ultimate solution to the Navicat garbled problem under Ubuntu

Select Tools-Preferences, under the General tab, select "Noto Sans Mono CJK TC Regular" as the font.

Select "Noto Sans CJK SC Regular" as the editor font under the editor tab.

Select "Noto Sans Mono CJK TC Regular" for the grid font under the record page.

After the modification is completed and the software is restarted, the coding problem will be solved!

The ultimate solution to the Navicat garbled problem under Ubuntu

python learning network, a large number of Navicat usage tutorials, welcome to pay attention!

The above is the detailed content of The ultimate solution to the Navicat garbled problem under Ubuntu. 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