java字符串 64位编码

byte[] encodeBase64 = Base64.encodeBase64("到了是是是是".getBytes("UTF-8"));  
        System.out.println("RESULT: " + new String(encodeBase64));  
import org.apache.commons.codec.binary.Base64; 

 

posted on 2016-09-27 08:56  ..小树苗  阅读(1896)  评论(0)    收藏  举报

导航