PDA

View Full Version : Ext 3.2.1 Simple Chinese in the "<body></body>" occur error with IE



cncore
26 May 2010, 6:23 PM
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ExtJS</title>
<link rel="stylesheet" type="text/css" href="../extjs/resources/css/ext-all.css" />
<script type="text/javascript" src="../extjs/adapter/ext/ext-base.js" ></script>
<script type="text/javascript" src="../extjs/ext-all.js"></script>
<script>
function showmsg()
{
Ext.MessageBox.alert("Infomation","Hello ExtJs!");
}
</script>
</head>
<body>
write simple chinese here "??"
<button onclick="showmsg();">Show Message</button>

</body>
</html>

if the page inclue simple chinese, when use "Ext.MessageBox.alert()", it's occur error like:

??8
???2121
??????????????
???0

E=x.ownerDocument.createRange();