java字符串 64位编码

byte[] encodeBase64 = Base64.encodeBase64("到了是是是是".getBytes("UTF-8"));  
        System.out.println("RESULT: " + new String(encodeBase64));  
import org.apache.commons.codec.binary.Base64; 
原文地址:https://www.cnblogs.com/lishupeng/p/5911488.html