Roundcube Community Forum

Release Support => Pending Issues => Topic started by: luedi on August 25, 2006, 06:21:09 AM

Title: charset problem - weird looking display names in email headers
Post by: luedi on August 25, 2006, 06:21:09 AM
hello there,

strangely rc sends some kind of character encoding preamble and messes with the german umlaut "ÃÃ,¼".
Quote=?UTF-8?Q?Maximilian_v._L=C3=BCdinghausen_
instead of
QuoteMaximilian v. LÃÃ,¼dinghausen

does anyone know what s wrong with my config ? or is it a bug?
i'm really desprerate.
any idea would help!
Title: Re: charset problem - weird looking display names in email headers
Post by: libak on August 26, 2006, 05:31:06 PM
I have the same problem,only with norwegian letters:

From: =?UTF-8?Q?Bj=C3=B8rnar=20Lib=C3=A6k=20

Title: Re: charset problem - weird looking display names in email headers
Post by: rjsalamanca on August 27, 2006, 12:34:28 AM
outgoing emails are not sending with a name in my idendity with accent, like "RenÃÃ,© Salamanca"

I have to comment out line 57 in /program/steps/mail/sendmail.inc

but now, the outgoing email does not have a sender's name
Title: Re: charset problem - weird looking display names in email headers
Post by: moroswitie on August 27, 2006, 01:53:41 PM
I've seen a lot of people having this problem. why isn't someone looking into this?
Title: Re: charset problem - weird looking display names in email headers
Post by: rjsalamanca on August 27, 2006, 06:37:33 PM
In this line on /program/steps/mail/sendmail.inc

$sent = smtp_mail($from, $a_recipients, $header_str, $msg_body);

$from = '[email protected]';

$header_str = 'MIME-Version: 1.0
0: [email][email protected][/email]
Date: Sun, 27 Aug 2006 18:32:19 -0400
From: =?UTF-8?Q?Ren=C3=A9_J._Salamanca_Vivas_<[email protected]>?=
To: [email][email protected][/email]
Subject: Sender
Organization: =?UTF-8?Q?Ideas_Din=C3=A1micas?=
Message-ID: <f74d09ed97da09aadbe73b4f23226a66@localhost>
X-Sender: [email][email protected][/email]
User-Agent: RoundCube Webmail/0.1b
Content-Type: text/plain; charset=&quot;UTF-8&quot;
Content-Transfer-Encoding: 8bit';

what is wrong with that header_str ?
Title: Re: charset problem - weird looking display names in email headers
Post by: leonz on August 28, 2006, 08:28:18 AM
Replace code in line 111

From :
'From' => $identity_arr['string'],To :
'From' => '=?'.$message_charset.'?Q?'.imap_8bit($identity_arr['name']).'?= <'.$identity_arr['email'].'>',