I have html file like the following loaded into RadEditor.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>New Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
</body>
</html>
However, when changed to html code mode, the code changed to the following.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>New Document</title>
</head>
<body>
<!--CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//E-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</body>
</html>
And I also notice that it has the problem when the file is saved as UTF8 file, but it preserve the html code if the file is saved as ANSI file.
And "<!--CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//E-->" only appear when using IE, but not firefox.
Can anyone help?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>New Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
</body>
</html>
However, when changed to html code mode, the code changed to the following.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>New Document</title>
</head>
<body>
<!--CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//E-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</body>
</html>
And I also notice that it has the problem when the file is saved as UTF8 file, but it preserve the html code if the file is saved as ANSI file.
And "<!--CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//E-->" only appear when using IE, but not firefox.
Can anyone help?