tags:

views:

554

answers:

1

Hi , how to print 0x13 Unicode character in java ???

+4  A: 

Use a Unicode escape:

System.out.print("\u0013");

Remember that Unicode escapes are replaced by the compiler by the corresponding Unicode character which can introduce compiler errors.

Joey
Though `\r` is not 0x13 but 0x0d.
laalto
Argh, sorry. Ok, that simplifies the answer a bit :-)
Joey