Hello.
I'm Korean. My site uses "euc-kr" as the encoding type(meta_codepage).
Some characters of Korean are changed into "?#167;" .
I already read the same problem at the old board of CMSimple.
But I don't know how to fix the problem.
I tried to edit the " $c = explode('§', ... " at the function rfc(), but it didn't work.
Please, help me.
http://www.cmsimple.com/forum/viewtopic.php?f=8&t=16
The guy "harteg" great inspired me.After I input "恭"(xb9\xa7)and press edit,the words "恭" was displayed as other strange chars(outof GBK encoding).
Is there a bug in parsing multlanguage chars?
http://www.cmsimple.dk/forum/viewtopic.php?t=1429
1. function content() in "cms.php"
- if (!($edit && $adm) && $s > -1)return $o.preg_replace("/".$cf['scripting']['regexp']."/is", "", $c[$s]);
+ if (!($edit && $adm) && $s > -1)return str_replace('§','a', $o.preg_replace("/".$cf['scripting']['regexp']."/is", "", $c[$s]) );
!important: change your editor to HEX mode, focus on the 'a', modify 61 to A7, then back to normal mode. The line will be looked like below:
if (!($edit && $adm) && $s > -1)return str_replace('§','?, $o.preg_replace("/".$cf['scripting']['regexp']."/is", "", $c[$s]) );
2. in "tinymce.php"(I use the editor_external)
append one line in the end
$o=str_replace('§','a', $o.preg_replace("/".$cf['scripting']['regexp']."/is", "", $c[$s]) );
then change a to 'A7' under HEX mode
$o=str_replace('§','?, $o.preg_replace("/".$cf['scripting']['regexp']."/is", "", $c[$s]) );
It's done