I'm trying to print Russian text like the below example but got ? characters. I have tried multiple "encodings" but the same result.
public static void main(String[] args) throws Exception {
String t = "тест";
System.out.println("test: " + t);
}
Output: test: ????
How can I do right encoding?