如何使用utf-8编码解决乱码问题

解决乱码问题最好全程使用 utf-8 编码,具体需要设置的点包括: 1、页面内容使用 utf-8 格式保存,在页面中加入 <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 和 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">...

2016-04-15 浏览量(539)