当前位置:网站首页>The solution of displaying garbled code in SecureCRT
The solution of displaying garbled code in SecureCRT
2022-07-25 01:21:00 【Sky paste soil】
Find the problem
stay Ubuntu Code in , The output sentence has Chinese , such as "printf(" What you read is :%s.\n", buf);". Use cross compilation tool chain to compile , Transfer the executable program to the development board system to run , And use SCRT To observe the test results . At this time, it is found that the Chinese output will be garbled .
To analyze problems
Linux The default character code of the system is UTF-8 Format , To put SecureCRT Also set to UTF-8 To display normally .
solve the problem
1、 Select the character encoding as UTF-8
Click on Options --> choice Session Options --> Click on Appearance. Set the character encoding to UTF-8 Format .
2、 Set the character set to GB2312
If only the character encoding is set to UTF-8, The character set is not set to GB2312, Then the displayed characters are question marks !
Click on Font .. --> Set the character set to GB2312.
3、 Disconnection and reconnection
After setting up , Disconnect again SecureCTR And Linux The connection of the system , Just reconnect .
边栏推荐
- Visual studio code installation package download slow & Installation & environment configuration & new one-stop explanation
- The first meta universe auction of Chen Danqing's printmaking works will open tomorrow!
- record
- Detailed explanation of the usage of vector, queue and stack
- Volley7 – networkdispatcher obtains data from the network [easy to understand]
- The two supply chain centers of HEMA launched the "background" of innovative research and development of multi format commodities
- Password input box and coupon and custom soft keyboard
- ES6 modularization
- Worthington cytochrome c digestion study carboxypeptidase B scheme
- [FAQ of waiting insurance] can the waiting insurance evaluation organization help with the waiting insurance rectification?
猜你喜欢

C recursively obtains all files under the folder and binds them to the treeview control

Human cell prosci 4-1BB ligand recombinant protein scheme

Why is the exclude or include attribute setting of the < keep alive > component invalid
![[development tutorial 10] crazy shell · open source Bluetooth smart health watch OTA image production and download technical documents](/img/97/c4ef281ca14eb68c8a14f18e03c3dd.png)
[development tutorial 10] crazy shell · open source Bluetooth smart health watch OTA image production and download technical documents

Tiktok iqiyi announced cooperation, long and short video handshake and reconciliation?

Cloud native observability tracking technology in the eyes of Baidu engineers

Visual studio code installation package download slow & Installation & environment configuration & new one-stop explanation

If in ython__ name__ == ‘__ main__‘: Function and principle of

MySQL Basics (concepts, common instructions)

Custom type
随机推荐
The most complete summary of MySQL data types in history - (first)
Several states of the process
Unity panel control
WPF implements RichTextBox keyword query highlighting
[27. Expression evaluation (infix expression)]
Kusionstack open source | exploration and practice of kusion model library and tool chain
Vegetable greenhouses turned into smart factories! Baidu AI Cloud helps Shouguang, Shandong build a new benchmark for smart agriculture
Current events on July 20
Pychart exits pytest mode (run pytest in mode)
How to better use the touchpad of notebook
What is the root password of MySQL initial installation
The leftmost prefix principle of MySQL
After burning up 130 billion yuan in ten years, vertical e-commerce will eventually enter the dust of history
【Power Shell】Invoke-Expression ,Invoke-Expression -Command $activateCommand; Error or power shell failed to activate the virtual environment
What are the functions of rank function
Install scoop and lux (formerly Annie)
Detailed explanation of the usage of vector, queue and stack
Detailed explanation of zero length array in C language (1) [information at the end of the article]
Free personal virtual machine - AWS free EC2 package
Brush questions of binary tree (5)

