2013年6月26日 星期三

Java String (java string)

String to bytes
String tmp="abcdefg";
byte b[] = tmp.getBytes();
strValue=new String(b,"utf-16LE");

沒有留言:

張貼留言