ContentType ,charset和pageEncoding的区别

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<script type="text/javascript">
</script>
<body>
……
</body>
</html>

http://www.cnblogs.com/kevin-yuan/archive/2011/12/31/2308479.html


你可能感兴趣的:(ContentType ,charset和pageEncoding的区别)