Re: Character Encoding or HTML entities

  •  03-17-2009, 4:23 PM

    Re: Character Encoding or HTML entities

    Hi, I am using ASP v6.0
     
    Yes, I have tried with  editor.UseHTMLEntities = true
     
    I can't use this link to test because I can't save and reload.
     
     
    I am saving the editor contents as ntext (Variable-length Unicode data).  The contents save fine and display fine when read back out to display page but when loaded back into the editor then, for example, an mdash appears as ( — ).
     
    It appears that the doctype of the page has an influence.  I have made three working test pages. Simply paste some text containing entities to these forms and save them.

     
    If no doctype is specified everything seems to work fine. If I declare either unicode format then I get the behavior.  Interestingly I can paste japanese characters and they work fine in all the test pages.  So it looks like its just the entities.
     
    Hope that helps.
    Dave
     
     
     
View Complete Thread