Convert from Unicode to UTF-8
public class Main { public static void main(String[] argv) throws Exception { String string = "abc\u5639\u563b"; byte[] utf8 = string.getBytes("UTF-8"); } }