Share This
 
All Posts  /  Kentico Development Tips  /  February 20, 2017 

How to prevent HTML encoding of Greek characters in the Kentico CKEditor

On a recent multisite project that included pages translated to Greek, one of our developers discovered that the Greek characters like α were being HTML encoded to α. In this blog post, I will show you how to modify the CKEditor configuration to prevent encoding of Greek characters. 

A quick google search indicated that this is a common issue with CKEditor. Back in 2011, this issue was posted on the Kentico Question & Answer boards and the fix was to modify the  ~\CMSAdminControls\FCKeditor\fckconfig.js file. However, things have changed since then and the line FCKConfig.IncludeGreekEntities = false; no longer exists.

In order to fix this issue in Kentico 8, 9, and 10, you need to open the file ~/CMS/CMSAdminControls/CKEditor/config.js and the following line at approximately line 11:

config.entities_greek = false;
Once you add the line, be sure you clear your cache before trying to see the fix! If that doesnt work then I also like to try viewing the page in incognito mode in Chrome or viewing it in a different browser. 


 
Show More
Share This
 
Comments
Blog post currently doesn't have any comments.
*
 Security code
*
ADD COMMENT
Social Buzz

Get in Touch

Contact

Contact
t: 973.539.5255
f: 973.917.4730

Visit

Visit
715 Main Street
Boonton, NJ 07005

Locations

Locations
Boonton
Dallas
Jersey City
Boulder

Send Us a Message




 Security code