Replacing special chars in html by &-values RRS feed

  • Question

  • User630035755 posted
    Hi, I've searched these forums but couldn't find a topic covering this. I'm using freetextbox 3.0 (wysiwyg editor for asp.net) for a mailing list, but when my text contains special chars like ó or similar, it's being replaced by ? in the mail I receive. Is there a setting/function/regular expression which solves this problem? Since the text is html it may not replace > and < bij > and < and I don't have any idea which special chars need to be replaced (too many possible characters to think of?). Hope anyone has any experience with this to get me started. Thanks, Speerman
    Tuesday, January 4, 2005 4:22 AM

All replies

  • User-47642917 posted
    hi; i think you should use UTF8 character set or save as uniqcoed. mohammad
    Wednesday, January 5, 2005 2:32 AM
  • User630035755 posted
    How should i do this? Do I need to specify a tag in the HTML i'm building for the mail body?
    Wednesday, January 5, 2005 8:28 AM
  • User-158764254 posted
    what are you using to generate the email? does it have a charset property?
    Thursday, January 6, 2005 12:22 PM
  • User630035755 posted
    I'm using the FreeSMTP.Net component to send the emails and using FreeTextBox 3.0 to let the user enter the body for the email. I have not specified a charset property (since FreeTextBox generates the HTML itself)
    Friday, January 7, 2005 2:49 AM
  • User-158764254 posted
    charset is not a property of the html body. It should be a property of the message object.
    Friday, January 7, 2005 11:57 AM