We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10720
    • 26 Posts
    Hallo,
    strange topic description ;-) , sorry...
    tinymce advlink doesn’t encode html entities correctly, as seen in attachment.

    mysql version is 4.1.22;
    collation of tables latin1_swedish_ci;
    MySQL charset: UTF-8 Unicode (utf8)
    MySQL connection collation: utf8_unicode_ci
    pages are utf8, modX utf8

    Do I have to convert tables and everything to utf?? which I really would like to avoid...
    Do I have to upgrade the database? (could data be destroyed by doing so?)

    I’m not into this sort of things, so a simple workaround would make me more than happy ;-)
    thx
    Gertrud
      • 24449
      • 81 Posts
      I had a look at this for Gertrud and the backend php file (assets/plugins/tinymce/inc/tinymce.linklist.php) seems to deliberatly add lots of HTML characters (especially the  s to pad things so they line up in the hierarchy - line 103). I haven’t been through the frontend JS in detail but something is presumably supposed to strip them back out... Maybe it breaks with umlauts and just stops trying?


      Ramsay
        • 10720
        • 26 Posts
        what is strange: the url of the advlink popup is assets/plugins/tinymce/jscripts/tiny_mce/themes/advanced/link.htm instead of assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm which I think it should be... at least it points to that url in other installations where the linklist works all right.
        So it might be a matter of database encoding and/or php version, which is 4.4.8 ...