When I am using just standard Drupal filtered HTML in my comment forms, international characters like 'ð' and 'æ' are shown correctly in the notification e-mail teaser. Like this:
Comment title: Test ð, í, ø
Comment teaser: Testing ð, ø, á, æ, Ý
But when I use the FCK editor with full HTML, it looks like this in the notification e-mail:
Comment title: Test ð, í, ø
Comment teaser: Testing ð, ø, á, æ, Ý
Any easy solution ?
Comments
Comment #1
gabble commentedSame problem here.
I guess the easiest solution is to disable entities conversion in fckeditor config…
I'm going to try in a couple of minutes, I'll let you know if that works…
Comment #2
gabble commentedIt works! :-)
Simply add:
FCKConfig.ProcessHTMLEntities = false ;inside of modules/fckeditor/fckeditor.config.js
Comment #3
jackdaw commentedYes thank you gabble, it works :-)
Two things however:
- In my case the path is /modules/fckeditor/fckeditor/fckeditor.js
- You have to be patient, clear cache or switch browser, or else your old FCK editor will still be used
Comment #4
jackdaw commentedsorry, /fckeditor/fckeditor/fckconfig.js, not modules/fckeditor/fckeditor/fckeditor.js
Comment #5
gabble commentedfckeditor.config.js is located inside the fck drupal module, and it lets you add custom fck configuration that overrides everything in /fckeditor/fckeditor/fckconfig.js (which instead resides inside FCKEditor itself).
My advice is to use fckeditor.config.js because you could upgrade FCKEditor inside the FCK drupal module without losing you custom tweaks. :-)
Comment #6
jackdaw commentedRight, thank you.
Comment #7
chx commented