首页 > 代码库 > 网页编码乱码

网页编码乱码

1。将gbk转化成utf-8 asp

  <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>网页头部加上

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">网页meta加上


2.php

header("Content-Type:text/html; charset=utf-8");