Answer the question
In order to leave comments, you need to log in
How to convert a line?
Help a newbie!!
There is a line
String s = "\u044e\u043b\u0438\u043d\u044b_\u0441\u043a\u0430\u0437\u043a\u0438";
How to transcode it into Russian???
Answer the question
In order to leave comments, you need to log in
These are escape sequences, the compiler itself "recodes" them.
class Test {
public static void main(String... args) {
String s = "\u044e\u043b\u0438\u043d\u044b_\u0441\u043a\u0430\u0437\u043a\u0438";
System.out.println(s);
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question