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