当前位置:网站首页>vscode输出中文乱码问题
vscode输出中文乱码问题
2022-07-31 07:25:00 【振予】
经过反复折腾,我还是失败了,呜呜呜,气死我了。
但是,最后经过实验验证,我发现能稳定的在windows那个小黑框里输出中文,不会出现乱码,在vscode内置的终端还是无法输出。那么说下如何搞:
1、插件,不用安装任何有关编码的插件,比如GBKtoUTF8。我就没有装这个。
2、需要设置下这里,或许你的是默认的。

3、在tasks.json的args字段里加上这一句:"-fexec-charset=GBK"
最后就ok了。如下图:
当然了,你得在我圈出的这个小黑终端输出,就是windows自带的那个。你只要配置了launch.json就可以, 如果不知道怎么配置,可以百度下,网上很多教程,我这里就不逼逼叨叨了。
边栏推荐
- Embedded system driver primary [2] - _ parameters and dependencies under the kernel module
- NK-RTU980烧写裸机程序
- 【愚公系列】2022年07月 Go教学课程 022-Go容器之字典
- The Ballad of Lushan Sends Lu's Servant to the Void Boat
- 手把手教你开发微信小程序自定义底部导航栏
- XSS靶场prompt.ml过关详解
- 'vite' is not an internal or external command, nor is it a runnable program or batch file.
- 2022.07.12_每日一题
- 2022.07.15_Daily Question
- 报销流程|By天放师兄
猜你喜欢
随机推荐
2022.07.22 _ a day
《C语言小游戏》扫雷
@Transactional注解的失效场景
关于yum源的配置及更新
regex bypass
一文搞定代码中的命名
Yu Mr Series 】 【 2022 July 022 - Go Go teaching course of container in the dictionary
页面懒加载
uniapp 高度不自适应
Linux redis6.2.6 configuration file
Environment_Variable_and_SetUID
MySQL 5.7 安装教程(全步骤、保姆级教程)
2022.07.14_Daily Question
Shellshock
MySQL安装到最后一步 write configuration file 失败 怎么办?及后安装步骤
Leetcode952. Calculate maximum component size by common factor
Regarding "computing power", this article is worth reading
2022.07.26_每日一题
sort函数(快速排列)的使用方法
Zabbix6.2 Surprise Release!Especially optimize the performance of medium and large environment deployment!


![[PSQL] SQL Basic Course Reading Notes (Chapter1-4)](/img/76/d416f79b7f2c93c1c79a285c30d3e6.png)






