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 |
Jump to:
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
I have also problem with Greek lag messages that are normally are ISO 8859-7 or windows-1253
#2
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
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
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
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
#7
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
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.