HTML entity conversion

  •  03-22-2010, 7:56 PM

    HTML entity conversion

    If I insert an em dash (HTML entity —) in the text and then run CleanUpHTMLCode() or CleanUpMicrosoftWordHTML(), the entity is changed to the unicode char 0x2014.
     
    When I send the entity — in email the em dash is displayed correctly; however, if I send the char 0x2014 in email it shows up as a regular dash.   Does anyone know why?

    Most importantly, how can I prevent  CleanUpHTMLCode() and CleanUpMicrosoftWordHTML() from changing the HTML entity — to the unicode char 0x2014? 
View Complete Thread