Asp.net| Solution | Chinese TINYMCE is a well-designed open source WYSIWYG rich text box JavaScript control. We can download the code for free on the internet.
TINYMCE can be easily integrated into any development environment, while also supporting multiple language packs.
However, in the specific use of the process, or need more careful settings, such as set a good TinyMCE language pack, in the asp.net when the use is always not normal, can not strive to read the language package content.
Careful study found that the original is because the ASP.net 2.0 default HttpResponse output encoding is utf-8, rather than Chinese gb2312, or GB18030, Hz so the settings are correct, but the page is executed when the error occurs, The problem of not correctly reading the configuration of the language pack.
We can add to the load process of the page class if the SET statement can solve the problem
response.contentencoding = encoding.getencoding ("gb2312")
After recompiling, the contents of the Chinese language resource bundle can be read normally.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.