myeclipse jsp页面不能保存问题

来源:百度知道 编辑:UC知道 时间:2024/05/27 02:05:47
两个jsp页面,首部都是<%@ page contentType="text/html;charset=gb2312"%>但一个能保存,一个却不能。显示 Save could not be completed
Reason:
Some characters cannot be mapped using "GB2312" character encoding.Either change the encoding or remove the character which are not supported by the "GB2312" character encoding.
为什么?怎么改啊。。。急

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

试试楼上说的,一般都用那个

改成GBK

对,用UTF-8

pageEncoding改GBK。。

你页面里有中文吧。。。

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

<meta http-equiv="content-type" content="text/html; charset=UTF-8">