When you're using Command Prompt, you're basically stuck. It doesn't have any meaningful Unicode support.
See also http://stackoverflow.com/questions/388490/unicode-characters-in-windows-command-line-how On Thu, Oct 3, 2013 at 12:50 PM, leef huo <[email protected]> wrote: > 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 >
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
