Unicode Characters in TinyMCE

i18N Add comments

If you are using default TinyMCE editor in MangoBlog with Unicode chars, you will see that your Unicode characters is being converted into named entities in default installation.

But I would like to keep them as is in Unicode.

The solution is a simple TinyMCE setting.

You can find TinyMCE settings in the file "/admin/postForm.cfm" line 25. Just try to add a new parameter as - entity_encoding : "raw" - and it should resolve the issue.

Sample:

<script language="javascript" type="text/javascript">
   tinyMCE.init({
      mode : "specific_textareas",
      editor_selector : "htmlEditor",
      entity_encoding : "raw",
      theme : "advanced",
...

This parameter contains 3 alternatives as "named, numeric and raw".

I hope that would be helpful.

0 responses to “Unicode Characters in TinyMCE”

Leave a Reply





Powered by Mango Blog. Design and Icons by N.Design Studio