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

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -