关于cookie中文乱码问题,错误java.lang.IllegalArgumentException: Control character in cookie value or attribute.
摘要:
cookie是不能直接保存中文的,不然会报错java.lang.IllegalArgumentException: Control character in cookie value or attribute. 若想要把中文(比如中文的用户名之类的)保存在cookie当中的话,首先要将编码 编码方式 阅读全文