Disable TinyMCE HTML Encode in BlogEngine.Net

If you are using BlogEngine.Net for your blog some special characters are saved with encoded in posts or pages.

For example, the letter “ü” encoded to “ü”. If your site’s charset is UTF-8 chars are displayed correctly. However, If you are export to XML with UTF-8 format your posts showing unreadable in sites coded with ISO-8859-9 format.

To prevent this,  to make a change in TinyMCE editor (BlogEngine.Net’s default editor).

Open tinyMCE.ascx file in Admin folder.

Find convert_urls: false,  line in tinyMCE.init() function.

After this line You must add

entities: “”,

Then, the special chars saved without encoded.

 

Updated (26.11.2009) :

Formatted sample codes is showing not correctly when is setting entities=””,

So you must use like this

[code:js]

entities:”160,nbsp,38,amp,34,quot,162,cent,8364,euro,163,pound,165,yen,169,copy,174,reg,8482,trade,8240,permil,60,lt,62,gt,8804,le,8805,ge,176,deg,8722,minus”,

[/code]

 

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestShare on RedditDigg thisEmail this to someonePrint this page

Post Author: mustafaozcan

Leave a Reply

Your email address will not be published. Required fields are marked *