TinyMCE is a well-designed open source WYSIWYG rich text box JavaScript control. We can download its code for free online.
TinyMCE can be easily integrated into any development environment and also supports multiple language packages.
However, in the specific use process, more careful settings are still required. For example, after setting up the language pack of TinyMCE, it is always abnormal when used in ASP.net and cannot read the language pack content.
After careful study, I found that it turns out that the default encoding output of ASP.net 2.0 HTTPResponse is utf-8, not Chinese gb2312, or gb18030, HZ. Therefore, the settings are correct, but an error occurs when the page is executed. The language pack configuration cannot be read correctly.
We can solve this problem by adding the if setting statement to the loading process of the Page class.
Response.ContentEncoding = Encoding.GetEncoding("gb2312")
After recompiling and executing, the contents of the Chinese language resource package can be read normally.
http://www.cnblogs.com/luforever/archive/2006/08/12/474836.html