Converting Unicode to UTF-8 try { String string = "\u5639\u563b"; byte[] utf8 = string.getBytes("UTF8"); } catch (UnsupportedEncodingException e) { }