Solve Chinese garbled characters in SecureCRT

Source: Internet
Author: User

Solve Chinese garbled characters in SecureCRT

1, mysql tables and columns have been set up UTF-8, and then still can not enter Chinese and Chinese display garbled.

2. Under SecureCRT:

Do not enter Chinese directly after executing the English settings: export LANG = zh_CN.UTF-8.

Then execute the Chinese settings: export LANG = zh_CN.GB2312 (or GB18030), you can enter Chinese, but most of the Chinese is garbled; and because the Linux system character set is set to GB and mysql UTF-8 is different, an ERROR is also reported (ERROR 1366 (HY000): Incorrect string value: '\ xB1 \ xB1 \ xBE \ xA9' for column 'cityname ').

3, finally Linux system is set to zh_CN.UTF-8, consider is not a tool problem, so view SecureCRT, modify character encoding to solve the problem. Option ----> session options -----> appearance -----> character encoding (select UTF-8 ).

 

 

SecureCRT connects to Ubuntu-port forwarding in VirtualBox

Two-way communication between Windows 7 and Linux using SecureCRT and file transfer solution

How to Use SecureCRT6.6.2 to log on to Ubuntu through SSH

SecureCRT connects to Ubuntu

Ubuntu 12.04 + Virtual Machine VMware 9 + Secure CRT + EditPlus local C ++ Development Environment setup

Use SecureCRT to transfer files between Linux and Windows

Install SecureCRT 14.10 on Ubuntu 7.3

SecureCRT details: click here
SecureCRT: click here

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.