Disable TinyMCE HTML Encode in BlogEngine.Net

 - 16 October 2009 09:09 Admin

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 (1) -

11/20/2010 8:05:17 PM #

Magang Jepang

I was just thinking about disable TinyMCE encode in BE and you've really helped out. Thanks!

Magang Jepang Indonesia | Reply

Add comment




  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

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

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 5171
   

Online : 6