Umlaute

teachme - May 1, 2008 - 11:01
Project:Basic webmail
Version:5.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

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?

#1

npapazoglou - June 22, 2008 - 15:20

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

#2

laghalt - February 3, 2009 - 15:48

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;

#3

laghalt - February 3, 2009 - 16:03

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)));

#4

oadaeh - February 7, 2009 - 17:22

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.

#5

oadaeh - April 8, 2009 - 22:42

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.

#6

npapazoglou - May 6, 2009 - 09:22
Status:active» closed

#7

teachme - June 28, 2009 - 17:48
Status:closed» 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.

#8

oadaeh - July 2, 2009 - 01:40

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.

 
 

Drupal is a registered trademark of Dries Buytaert.