I used an IE6 under W2k of chinese CharacterSet.The problem is when I initilize the value of fckeditor object,It change the value with an mistake character:
var oFCKeditor ;
oFCKeditor = new FCKeditor('EditorDefault') ;
oFCKeditor.BasePath = '/fckeditor/' ;
oFCKeditor.Value = '<INPUT type=button value=\"1\" name=kkk onclick=\"alert(\"Don't Know\")\" >' ;
oFCKeditor.Create() ;
But in editing,when i changed the editor to html source mode,the text in editor is:
<INPUT onclick=alert( type=button value=11 name=kkk Know?)? Dont> whaaat
and the "'" char in "Don't" is not an normal "'" char,but when I paste the senstence in this textarea, it change to "'" again.And in the fckeditor It have been changed to "'".
var oFCKeditor ;
oFCKeditor = new FCKeditor('EditorDefault') ;
oFCKeditor.BasePath = '/fckeditor/' ;
oFCKeditor.Value = '<INPUT type=button value=\"1\" name=kkk onclick=\"alert(\"Don't Know\")\" >' ;
oFCKeditor.Create() ;
But in editing,when i changed the editor to html source mode,the text in editor is:
<INPUT onclick=alert( type=button value=11 name=kkk Know?)? Dont> whaaat
and the "'" char in "Don't" is not an normal "'" char,but when I paste the senstence in this textarea, it change to "'" again.And in the fckeditor It have been changed to "'".