no, its more tricky. Do not use FCKEditor. Regardless the settings in its config file, the content from FCK is always being encoded with hmlentities.
The only working solution for MySQL 4.1 or MySQL 5 with collation utf8_general_ci:
- always connect to MySQL with utf8. Patch the include.php file; add this line:
after line
- do not use FCKEditor
- in the file action.dosearch.php i replaced this line :
Code: Select all
$ary[] = "word = " . $db->qstr(htmlentities($word, ENT_COMPAT, 'UTF-8'));
with this:
Code: Select all
$ary[] = "word = " . $db->qstr($word);
Resume: Core developers, please read the articles i posted, and remove htmlentities from CMSMS. Use TinyMCE, if i remember TinyMCE has a config option "raw" which really stores content in utf8.