当前位置:网站首页>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_每日一题
- 2022.07.24_Daily Question
- [Interview: Concurrency 38: Multithreading: Thread Pool] Basic concepts of the ThreadPoolExecutor class
- "C language game" entry-level chess game (robot enhanced version)
- 【面试题】从输入URL到游览器渲染完成,经历了什么
- navicat 新建数据库
- Collation and sharing of related classic papers and datasets in the field of deep learning communication
- 信息收集-DNS
- 关于yum源的配置及更新
- 完美指南|如何使用 ODBC 进行无代理 Oracle 数据库监控?
猜你喜欢

Yu Mr Series 】 【 2022 July 022 - Go Go teaching course of container in the dictionary

2022.07.29_Daily Question
![Embedded system driver primary [2] - _ parameters and dependencies under the kernel module](/img/c2/22c1e087b92ed2c898f97bcf0e818b.png)
Embedded system driver primary [2] - _ parameters and dependencies under the kernel module

Calculation example of matlab program iEEE9 node system for power flow calculation of AC-DC hybrid system based on alternate iteration method

动态顺序表的增删查改(C语言实现)

【面试题】从输入URL到游览器渲染完成,经历了什么

Fund investment advisory business

Read Elephant Swap in one article, why does it bring such a high premium to ePLATO?

Zabbix6.2 Surprise Release!Especially optimize the performance of medium and large environment deployment!

2022.07.29_每日一题
随机推荐
《c语言》青蛙跳台阶递归问题
Open Source | Commodity Recognition Recommender System
动态顺序表的增删查改(C语言实现)
Pygame Surface对象
2022.07.14_Daily Question
关于“算力”,这篇文章值得一看
Ceph single node deployment
Environment_Variable_and_SetUID
机器学习---线性回归、Logistic回归问题相关笔记及实现
MySQL 8.0.29 解压版安装教程(亲测有效)
2022.07.14_Daily Question
MySQL安装到最后一步 write configuration file 失败 怎么办?及后安装步骤
R语言 第一部分
实用生物信息学2:多组学数据整合和挖掘
[PSQL] Complex query
MySQL detailed explanation
任务及任务切换
2022.07.22_每日一题
mysql insert new field method
链表实现及任务调度