myeclipse html乱码

myeclispe 中 html乱码

 在页面的开头写上即可 <meta http-equiv="content-type" content="text/html; charset=UTF-8">

若不行,把 <meta http-equiv="content-type" content="text/html; charset=UTF-8">中的charset改为gb2312就可以了

 

myeclispe 中 jsp乱码

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<%@ page pageEncoding="utf-8" %> 这样更简单。

posted @ 2014-05-16 10:30  kin2321  阅读(281)  评论(0编辑  收藏  举报