@Test
	public void testMaskStreamDefinitionWithUnicodePasswordParameter() {
		String maskedPassword = PasswordUtils.maskPasswordsInDefinition(
				"mystream --password=\u0411\u0435\u0440\u043b\u0438\u043d");
		assertEquals("mystream --password=******", maskedPassword);
	}
The password parameter value in Russian (UTF) should be masked also.
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/rest/PasswordUtilsTests.java