当前位置:网站首页>vscode输出中文乱码问题
vscode输出中文乱码问题
2022-07-31 07:25:00 【振予】
经过反复折腾,我还是失败了,呜呜呜,气死我了。
但是,最后经过实验验证,我发现能稳定的在windows那个小黑框里输出中文,不会出现乱码,在vscode内置的终端还是无法输出。那么说下如何搞:
1、插件,不用安装任何有关编码的插件,比如GBKtoUTF8。我就没有装这个。
2、需要设置下这里,或许你的是默认的。
3、在tasks.json的args字段里加上这一句:"-fexec-charset=GBK"
最后就ok了。如下图:
当然了,你得在我圈出的这个小黑终端输出,就是windows自带的那个。你只要配置了launch.json就可以, 如果不知道怎么配置,可以百度下,网上很多教程,我这里就不逼逼叨叨了。
边栏推荐
- 2022.07.15_Daily Question
- 7/28-7/29 Expectation + thinking + suffix array + ST table
- 2022.07.12 _ a day
- 2022.07.13 _ a day
- Thread 类的基本用法——一网打尽
- Machine Learning - Notes and Implementation of Linear Regression, Logistic Regression Problems
- MySql数据库优化查询工具
- The Perfect Guide|How to use ODBC for Agentless Oracle Database Monitoring?
- 初识NK-RTU980开发板
- 一文搞定代码中的命名
猜你喜欢
NK - RTU980 burning bare-metal program
Calculation example of matlab program iEEE9 node system for power flow calculation of AC-DC hybrid system based on alternate iteration method
Embedded system driver primary [2] - _ parameters and dependencies under the kernel module
【愚公系列】2022年07月 Go教学课程 022-Go容器之字典
《opencv学习笔记》-- 仿射变换
DAY18:XSS 漏洞
Tasks and task switching
一文读懂Elephant Swap,为何为ePLATO带来如此高的溢价?
The first part of the R language
【面试:并发篇37:多线程:线程池】自定义线程池
随机推荐
个人报错问题 持续总结
shell/bash脚本命令教程
会话技术之Coookie && Session详解
Titanic 预测问题
使用MySQL如何查询一年中每月的记录数
循环结构--for循环
Failure scenarios of @Transactional annotations
《C语言小游戏》扫雷
中断及pendSV
Spark 在 Yarn 上运行 Spark 应用程序
ros小乌龟画图
基金投顾业务
Linux redis6.2.6 configuration file
sort函数(快速排列)的使用方法
Linked list implementation and task scheduling
金融租赁业务
Pygame Surface对象
MySQL 5.7升级到8.0详细过程
第9章 异常try...except...else...finally
The Perfect Guide|How to use ODBC for Agentless Oracle Database Monitoring?