myeclipse編輯jsp中文問題
在eclipse里能正確顯示中文,但是保存的時候提示encoding(iso-8859-1)cannot convert characters (such as the one in position ...)
選擇ok保存的話用記事本打開jsp文件應該是中文的地方就顯示為???
先新建一jsp文件。
輸入:
<%@ page contentType="text/html; charset=utf-8"%>
按保存。。。。
把你要的代碼復制進來。。保存,發現OK了。。
輸入:
<%@ page contentType="text/html; charset=utf-8"%>
按保存。。。。
把你要的代碼復制進來。。保存,發現OK了。。
posted on 2005-12-07 10:27 bluesky 閱讀(2498) 評論(4) 編輯 收藏 所屬分類: 工作總結