ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

â instead of apostrophe when articles emailed

September 09, 2009 6:03pm

Subscribe [2]
  • #1 / Sep 09, 2009 6:03pm

    reedy

    19 posts

    Hi

    When visitors to my site use the email module to share articles, there is a problem.

    As an example, if someone views an article titled, Things I Won’t Do, and emails it to a friend, the subject line of the email reads as, Things I Wonât Do. However, the content of the email (ie the text in the body) shows the title of the article correctly with an apostrophe.

    I have tried changing the email settings to iso-8859-1 but this didn’t help, so it’s currently back at utf-8.

    Any ideas?

  • #2 / Sep 09, 2009 6:09pm

    Ingmar

    29245 posts

    What version and build of EE are you on? Does this only affect the Title header, or other fields (the Body, most notably) as well?

  • #3 / Sep 09, 2009 6:10pm

    reedy

    19 posts

    1.6.4 Build:  20080710

    It’s only affecting the title (subject line) of the email.

  • #4 / Sep 09, 2009 6:17pm

    Ingmar

    29245 posts

    Technically, only 7bit-ASCII characters are valid in any mail header, including the Title: header. You can specify which encoding to use in the Body: but this is just another header, really. To get around this issue (and this be able to use high-ASCII characters in the title), you’ll have to encode your headers, usually using quoted printable.

    What I am saying here, in so many words, is this: I strongly suggest to upgrade to the latest version, there have been a number of fixes and improvements with the email module.

  • #5 / Sep 09, 2009 6:23pm

    reedy

    19 posts

    To get around this issue (and this be able to use high-ASCII characters in the title), you’ll have to encode your headers, usually using quoted printable.

    Errr…. that sounded like a whole other language to me! How would I do that? As previously mentioned, the only issue is in the subject line - the body of the emails is fine.

    Upgrading is a little challenging right now due to a number of customisations so it’s not something I could do quickly. Is there any interim solution?

  • #6 / Sep 09, 2009 6:32pm

    Ingmar

    29245 posts

    Errr…. that sounded like a whole other language to me! How would I do that?

    Your mailing program, EE in this case, would have to do it for you.

    As previously mentioned, the only issue is in the subject line - the body of the emails is fine.

    Yes, that’s to be expected. The Subject: is a special case here.

    Upgrading is a little challenging right now due to a number of customisations so it’s not something I could do quickly. Is there any interim solution?

    Not really there is much to be done. Can you send me a test mail to .(JavaScript must be enabled to view this email address), via your communicate tab? Just so I get a good look at the header. Be sure to include a special character in the Subject. (You can copy & paste one here if you don’t have any: öäü)

  • #7 / Sep 09, 2009 6:43pm

    reedy

    19 posts

    Thanks for your continued advice - test message sent.

  • #8 / Sep 11, 2009 12:50pm

    Ingmar

    29245 posts

    I received your message, and it confirms what I’ve been suspecting. Also, this has come up a few times before. I seem to remember that it was addressed in one of the recent versions (even though I didn’t find it in the change log with a quick search), so my suggestion would definitely be to upgrade to the latest version and build.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases