<%@ CODEPAGE=65001 %>
<%
Option Explicit
Response.CodePage=65001
Response.Charset="UTF-8"

Dim htmlData

htmlData = Request.Form("content1")

Function htmlspecialchars(str)
	str = Replace(str, "&", "&amp;")
	str = Replace(str, "<", "&lt;")
	str = Replace(str, ">", "&gt;")
	str = Replace(str, """", "&quot;")
	htmlspecialchars = str
End Function
%>
<!doctype html>
<html>
<head>
	<meta charset="utf-8" />
	<title>KindEditor ASP</title>

	<script charset="utf-8" src="../kindeditor.js"></script>
	<script charset="utf-8" src="../lang/zh_CN.js"></script>

	<script>
		KindEditor.ready(function(K) {
			var editor1 = K.create('textarea[name="content1"]',{
				uploadJson : '../asp/upload_json.asp',
				fileManagerJson : '../asp/file_manager_json.asp',
				allowFileManager : true,
				
			});
			var editor2 = K.create('textarea[name="content2"]',{
				uploadJson : '../asp/upload_json.asp',
				fileManagerJson : '../asp/file_manager_json.asp',
				allowFileManager : true,
				
			});
			
		});
	</script>
</head>
<body>

		<textarea name="content1" style="width:700px;height:200px;visibility:hidden;">a</textarea>
		<textarea name="content2" style="width:700px;height:200px;visibility:hidden;">a</textarea>

</body>
</html>
