0

I am using TinyMCE Rich text Editor in my MVC app so to store data in a database. It works ok. The problem I have is that the data is in greek characters. It gives &kap&kap&kap&kap&kap&kap.

Can someone help me on how can I fix this?

touinta
  • 971
  • 3
  • 10
  • 26

1 Answers1

0
tinymce.init({
     entity_encoding : "raw"
});

Documentation

TinyMCE UTF-8 saving to MySQL Database

Community
  • 1
  • 1
seti
  • 341
  • 1
  • 7
  • 19
  • thank you for your reply, It still gives me

    καλημέρα

    I put it at the head tag of create page
    – touinta Feb 18 '16 at 07:01
  • What content is inserting to databases? I don't now asp but your output is html or string? Look this http://stackoverflow.com/questions/23653676/rendering-dynamic-html-content-into-variable-in-razor – seti Feb 18 '16 at 08:58
  • for the now time I just insert some simple text. I manage to call my content in a right format. I mean in my view page. But in db it still saves

    καλημέρα

    I use SQL Server
    – touinta Feb 18 '16 at 11:40
  • – touinta Feb 18 '16 at 18:13