No, there really is nothing we can do about it while you continue to use Command Prompt. Using a different shell is the only way to get it to work properly. (And that itself may potentially introduce other issues.)
[Note also that you need to reply to all for your response to be on the list. You sent it just to me.] On Fri, Oct 4, 2013 at 11:36 AM, leef huo <[email protected]> wrote: > Chris Morgan , thanks . > After change the windows code page to 65001,and use Lucida console fonts, > there was a slight improvement, the output becomes: > but still have problems,it is not entirely correct. > > Are there a solution now or in the future that makes the rust code(unicode) > in the default windows command line to work properly? > > > On Thu, Oct 3, 2013 at 11:24 AM, Chris Morgan <[email protected]> wrote: >> >> 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
