web前端 html和jsp 乱码解决

html乱码解决
response.setContentType("text/html;charset=gbk");

response.setCharacterEncoding("iso-8859-1");

 

 

 

jsp乱码解决
charset=gb2312

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

你可能感兴趣的:(html jsp 乱码解决)