摘要:
1.Controller1 def show(){2 System.err.println("进行转码....");3 String des = params.description;4 Base64Encoder encoder = new Base64Encoder();5 def s = des.getBytes("utf-8").encodeBase64().toString();6 System.err.println("转码成功....,转换后"+s);7 [description:s... 阅读全文