I want to print "hello world, 世界"(Chinese)to the console, but the result is
garbled(messy code), the following code where the problem is?
fn main() {
let s=~"hello,世界";
println(s);
}
Should output:hello,世界

but it print " hello,涓���� " to the console.

OS  : windows
rust : 0.8
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to