This question has already been answered:
- Incorrect display of Russian characters 2 answers
During the test, Russian letters are not displayed in the console, although CMD itself supports Russian characters, the system has Russian language installed.
There is a class
public class TestTest { @Before public void setUp() throws Exception { } @After public void tearDown() throws Exception { } @Test public void name() throws Exception { System.out.println("english"); System.out.println("русские"); } } console output:
С:\..\ >echo "вваваы" "вваваы" >mvn test ..... ------------------------------------------------------- TESTS ------------------------------------------------------- Running TestTest english ╤А╤Г╤Б╤Б╨║╨╕╨╡ Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec .... coding console cp866. I tried to set different console encodings before launching - it did not help. Can you please tell me how to display Russian characters?
UPD
Running through Idea displays correctly.
ps it turned out that Idea automatically brings all messages to the human mind on the fly
UPD2 none of the answers helped. so the question is open.