Hi,
with German emails I either get a correct header with umlaute or a correct email-text when I change the browser from utf-8 to iso or the other way around. The other part then shows ? instead of the umlaute. Is there a way to change this in the module?

Comments

nicholaspapazoglou’s picture

I have also problem with Greek lag messages that are normally are ISO 8859-7 or windows-1253

laghalt’s picture

This is a pure character encoding bugg. Drupal works in UTF-8, this module produces Latin 1. You have to edit the module yourself, change the line 2569 (something like that depending on how much you have corrected in the file) addding a utf8_encode. This does not fix the mail quoting.

    case 4:
      return utf8_encode(quoted_printable_decode(_basic_webmail_mail_fetchpart($imap_resource, $message_number, $part_id)));
      break;
laghalt’s picture

Just to fix the replybugg - in line 1244 you need to add both utf8_encode and a quoted_printable_decode:

        $temp_send_mail_body = explode("\n", utf8_encode(quoted_printable_decode($message_body)));

oadaeh’s picture

Thanks for the update, laghalt. I've been swamped with non-Drupal stuff for a few months, but I'll try to get that change rolled into an official release in the next couple of weeks. I won't be able to test it very completely, so I'm hoping that it'll just work.

oadaeh’s picture

I finally implemented both of laghalt's changes here: http://drupal.org/cvs?commit=194724

It's currently only in the dev release. Please report back so that I know it is actually fixed.

nicholaspapazoglou’s picture

Status: Active » Closed (fixed)
teachme’s picture

Status: Closed (fixed) » Needs work

Sorry, but there's still a little mistake in it: If you read a message, in the first line capital letters with umlaut show the "two dots" next to the letter, not above. This is the same in the "from"-line.

oadaeh’s picture

I don't know that there is anything I can do with those problems. They sound more like a video driver or browser problem. I'm certainly not processing the individual characters and converting them one-by-one.

oadaeh’s picture

Status: Needs work » Closed (cannot reproduce)

Since there has been no response in over a year, I'm assuming this is no longer an issue.