Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kishore 19 posts 40 karma points
    Nov 22, 2011 @ 14:58
    Kishore
    0

    Special characters in TinyMce not saving properly

    Hi,

    I'm able to insert special characters in RichText Editor but when I hit save then the all special characters are converted to ?.

    Appreciate your help in this regard.

    Umbraco Version: 4.7.1

    My Config file settings as follows

    tinymceConfig.config

     <customConfig>

        <!--    <config key="myKey">mySetting</config>-->
        <config key="entity_encoding">named</config>
        <config key="spellchecker_rpc_url">GoogleSpellChecker.ashx</config>
      </customConfig>

    Umbracosettings.config

            <TidyEditorContent>True</TidyEditorContent>
            <TidyCharEncoding>UTF8</TidyCharEncoding>

     

    Thanks

    Kishore

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 22, 2011 @ 19:35
    Jan Skovgaard
    0

    Hi Kishore

    What kind of characters are you trying to use in the RTE field? If there not UTF8 it makes sense that they're being displayed as ? after you have saved the content I think. You could try changing the setting in the TidyCharEncoding from UTF8 to some other encoding that contains the special characters perhaps?

    /Jan

  • Kishore 19 posts 40 karma points
    Nov 23, 2011 @ 11:28
    Kishore
    0

    Hi Jan,

     

    The problem has been resolved after restarting the IIS.

     

    Thanks for your prompt reply.

     

    Kishore

  • Atoosa Khoda 96 posts 148 karma points
    Mar 11, 2013 @ 01:55
    Atoosa Khoda
    0

    I have the exact same settings, but not working for me. Anyone has other ideas or knows why please? I'm trying to insert a &ldquo (or &#8220;) and &ldquo(or &#8221;)  for opening and closing quotes. But it removes when saving the document. Umbraco 4.7.1. Thanks.

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 11, 2013 @ 05:19
    Fuji Kusaka
    0

    Hi Atoosa,

    Instead of using the unicode characters for quotes why dont you just insert the proper character itself ?

    Have you try using stripHtml or disable-output-escaping="yes" ??

  • Atoosa Khoda 96 posts 148 karma points
    Mar 11, 2013 @ 05:29
    Atoosa Khoda
    0

    Thanks Fuji for quick response. Yes i've tried the actual character too. but it strips it out. i can't use stripHtml because except that special character the rest of the text may include html and we want them. :(

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 11, 2013 @ 05:40
    Fuji Kusaka
    0

    In your html are you using

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    or
    <meta http-equiv="Content-Type" content="text/html; charset="iso-8859-1" />

    if so  try switching to UTF-8

  • Atoosa Khoda 96 posts 148 karma points
    Mar 11, 2013 @ 05:49
    Atoosa Khoda
    0

    none!! but this is the matter of tinyMCE though that strips things out. if i insert such characters directly into the template, there'll be no problem displaying it. Only when i want to allow users to add strange characters via tinyMCE as part of the content, it wouln't accept those chars and removes them as soon as the Save button is pressed.

     

Please Sign in or register to post replies

Write your reply to:

Draft