special characteres html punctuation

  •  12-14-2005, 12:35 PM

    special characteres html punctuation


    i use editor.text to fill my editor

    but in the html code i use to fill my editor, there are accents
    example :

    editor.text="la france est débordé par l'ouest"

    in the editor  i see:

    "la france est dbordpar louest"

    special characters don't appear

    how can i replace each special characters by good html code
    exple : "é" becomes "é" etc ...
    do i have to replace each characters ?

    i saw in the documentation the cleanuphtmlcode() method, but it doesn't work, how can i use it
    i get  an error with "editor.cleanuphtmlcode() ".
     
    thanks
View Complete Thread