search
HomeOperation and MaintenanceLinux Operation and MaintenanceSecureCRT Chinese display garbled solution
SecureCRT Chinese display garbled solutionJun 23, 2017 pm 02:25 PM
securecrtChineseGarbled charactersshow

1. Modify the configuration of the remote linux machine

[root@zender ~]#vim /etc/sysconfig/i18n

Change LANG to a character set that supports UTF-8

For example: LANG="zh_CN.UTF-8″ or Yes LANG="en_US.UTF-8" This article is modified to the latter

2. Modify the Session Options of Secure CRT

Options-> ;Session Options->Appearance->Font->New Song Dynasty character set: Chinese GB2312 ->Character encoding is UTF-8

Chinese garbled characters after logging in to SecureFX

The general options of SecureCRT and SecureFX have been set to UTF-8, but the Chinese folder created in SecureCRT is still garbled in SecureFX

Check the server encoding

Check the linux encoding and modify it to what you need. This article will use UTF-8 as an example to illustrate .

Modify the configuration file of the Linux server:

[root@zender ~]# vi /etc/sysconfig/i18n

If you select the Chinese system when installing the system, change the LANG field to: LANG="zh_CN.UTF-8"

If you choose the English system when installing the system, change the LANG field to: LANG="en_US.UTF-8"

##General solution Method

#1. Right-click the connection tab of SecureCRT.

#2. In the pop-up window, select the "Appearance" tab in the left column, and select UTF8 in the right window, as shown in the figure :

3. At this point, Chinese can be displayed normally in SecureCRT:

Although Chinese can be displayed at this time, the Chinese folder created in SecureFX will still display garbled characters in SecureCRT. How to solve this problem? You need to configure it by modifying the configuration file:

Configuration file settings

1. Find the SecureFX configuration folder ( Options--global options, configuration folder under General)

For example: D:\IT_Softwares\SecureCRT\Data\Settings\Config;

2. In the Sessions subdirectory under the configuration folder, find the Session file (.ini extension) corresponding to the SecureCRT connection and double-click to open it;

3. Find Filenames Always Use UTF8, change the parameter after the = sign to 00000001, save and exit.

The above is the detailed content of SecureCRT Chinese display garbled solution. 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
php 导入csv乱码问题怎么办php 导入csv乱码问题怎么办Nov 21, 2022 am 09:32 AM

php导入csv乱码问题的解决办法:1、构造一个解析函数“function tb_str_getcsv($string, $delimiter=',', $enclosure='"') {...}”;2、读取文件到变量;3、通过“substr($s,2)”去掉BOM头即可。

cmd php乱码怎么办cmd php乱码怎么办Nov 22, 2022 am 10:29 AM

cmd php乱码的解决办法:1、在windows平台的cmd或shellpower中,执行php脚本并检查是否乱码;2、通过在php脚本里执行“exec("CHCP 65001");”命令去修改当前页码字符集即可。

php+fread()乱码怎么办php+fread()乱码怎么办Jan 18, 2023 am 10:21 AM

php+fread()乱码是因为输出页面的编码和被读文件的编码不一致,其解决办法:1、打开相应的PHP文件;2、通过fread函数读取文件;3、通过“iconv('gbk', 'utf-8', $data)”方法将读取的内容转码即可。

linux命令行显示乱码怎么办linux命令行显示乱码怎么办Mar 03, 2023 am 09:30 AM

linux命令行显示乱码的解决办法:1、通过“echo $LANG”命令查看当前支持的语言;2、使用“LANG=en_US”命令修改语言为英语语系即可解决乱码问题。

wordpress后台乱码怎么办wordpress后台乱码怎么办Feb 03, 2023 pm 01:48 PM

wordpress后台乱码的解决办法:1、在wordpress的“wp-admin”文件夹下找到“admin.header.php”文件;2、将“charset”属性值设置为“UTF-8”格式即可恢复正常。

如何解决php写入数据库中文乱码问题如何解决php写入数据库中文乱码问题Sep 25, 2021 am 10:29 AM

php写入数据库中文乱码的解决办法:1、创建数据库并设置“utf8_general_ci”编码;2、用PHP读写数据库,然后设置“mysql_query("set names 'utf8'");”即可。

mysql注释乱码问题怎么解决mysql注释乱码问题怎么解决Feb 13, 2023 am 09:44 AM

mysql注释乱码问题的解决办法:1、通过“show variables like '%colla%';show variables like '%char%';”命令查看数据库与服务端的字符集设置;2、通过“set character_set_client=utf8;”设置结果集为utf8即可。

php dompdf中文乱码怎么办php dompdf中文乱码怎么办Jan 18, 2023 am 10:34 AM

php dompdf中文乱码的解决办法:1、打开前端文件;2、通过设置“@font-face {font-family:ttt;src: url(/static/font/simkai.ttf)}”引用中文字体;3、删除“dompdf_font_family_cache.php”即可。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!