Disable TinyMCE HTML Encode in BlogEngine.Net

 - 16 October 2009 16:09 mustafaozcan

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

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",


 


Paylaş

Tags:

BlogEngine.NET

Comments

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



About the author

Mustafa OZCAN Mustafa ÖZCAN
Software Developer

E-mail me Send mail

PayPal Donate


Recent comments

Comment RSS

Calendar

<<  July 2010  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in  anyway.

© Copyright 2008

Added Files

File Hit
jquery-1.2.6-intellisense.js 3744
   

Online : 6