当前位置:网站首页>visual studio code中rust代码debug时中文乱码的处理【win10平台】
visual studio code中rust代码debug时中文乱码的处理【win10平台】
2022-08-07 23:41:00 【dzj2021】
一、源码
extern crate polars;
use polars::prelude::*;
use polars::df;
fn main1() {
println!("Hello, world!!!!!!");
println!("who are you?");
println!("Hello world");
println!("Hello error2");
format!("Hello {}", "world111111");
let df = df!["字母" => ["a", "b", "c", "d"],"数字" => [1, 2, 3, 4]];
println!("{:?}",df);
}
fn main2() {
let x = std::f64::consts::PI;
let r = 8.0;
println!("计算出来的面积为: {}", x * r * r);
}
fn main()
{
main1();
main2();
}
二 乱码输出

三、正确输出

四、处理办法
【控制面板】->【时钟和区域】->【区域】->【更改区域设置】…


边栏推荐
猜你喜欢

Analysis of Qiangwang Cup 2022 pwn competition questions - yakacmp

leetcode-每日一题636. 函数的独占时间(模拟栈)
![LeetCode weeks checking]](/img/9e/a09e0ebec985341f972ccc6b15aa53.png)
LeetCode weeks checking] "305th week 20220807

solidworls view and model and drawing operation shortcuts

多少建模师靠着zbrush这软件成家立业,你们还在等什么

Eureka Basics
![[STC15] Interpretation of Timer 0 as a 9-16-bit PWM Example](/img/d2/3a00cab36ae251e9783ab3ab2ed2b2.png)
[STC15] Interpretation of Timer 0 as a 9-16-bit PWM Example

Two queues implement a stack

awk 统计日志中的ip和userId--分析用户恶意刷接口行为

分析与处理时间序列数据的常用方法总结
随机推荐
《树上差分》小题两则
PersFormer: 3D Lane Detection via Perspective Transformer and the OpenLane Benchmark 论文笔记
pinia详解
[Proteus simulation] Arduino UNO+OLED12864 I2C interface running graphics library
Two queues implement a stack
(二)音视频:MediaCodec编码桌面信息 完整Demo 进一步理解H264
MySQL notes - 05 data table operations
你知道网络安全领域中有哪些常用的抓包工具吗?(附资料)
Test the project management skills you should also have
Flexible and easy-to-use sql monitoring script part6
NameNode单节点数据块汇总和处理
C语言:矩阵相等判定
ip and userId in awk statistics log--analyze the behavior of users maliciously brushing the interface
dart method and property privatization
两个栈实现一个队列(图解最简单版)
C语言:打印水仙花数
力扣206,反转链表
D. Chip Move(DP,优化时间和空间)
What does opening a securities account mean?Is it safe to open an account?
同花顺炒股佣金最低是多少?开户安全吗?