Java System.out.print Windows and unicode issue -
i'm printing out line overwritten (like status bar) in windows cmd.exe
. i'm doing using system.out.print("\r" + filename + " " + progress)
.
the problem if filename
utf-8, windows not correctly return beginning of line , overwrite last message.
minor issue, i'd see if there solution. thanks!
you might want try \r\n
:
system.out.print("\r" + system.getproperty("line.separator") + "bla bla");
Comments
Post a Comment