I had an old Roundcube and deleted it, installed the 1.1 version.
It didn't occur to me in the "old" version, but the latest version always uses "Content-Transfer-Encoding: 7bit" and "Content-Type: text/plain; charset=US-ASCII;"
Searched around, looked at conf files, could not find a way to set it to 8bit and UTF-8, like all my other emailers do....
How can I change this (saw some funny characters)
Thanks !
What strange characters? The code is:
// choose transfer encoding for plain/text body
if (preg_match('/[^\x00-\x7F]/', $MAIL_MIME->getTXTBody())) {
$text_charset = $message_charset;
$transfer_encoding = $RCMAIL->config->get('force_7bit') ? 'quoted-printable' : '8bit';
}
else {
$text_charset = 'US-ASCII';
$transfer_encoding = '7bit';
}
Ah Thanks...
That's in /roundcube/program/steps/mail/sendmail.inc
Attached two pics, mailone is how the mail shows in Roundcube, mailtwo is how the mail shows in the Type Android email app.
This is in the header of the received email:
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Don't know if it has anything to do with 7 or 8 bit, but since all my other email programs seem to use 8bit and UTF-8, I thought using this as my default for sending email, may solve this.
'
Anyways, my default is now 8bit and UTF-8, we will see.
Oh, this mail is: MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
format=flowed
Content-Transfer-Encoding: quoted-printable
But still shows the strange question marks, after the dash.
original.jpg = Show Source
inspectelement.jpg = Inspect Element with Chrome
Ok, I guess these two characters might by 0x02 and 0x03 added by the code related to HTML editor mode change in Roundcube. However, I have no idea how they slipped into the message. So, question is how do you create the message you're sending (what browser, what editor mode etc.). Also try to create the signature again.
Chrome 41.0.2272.89 m, Compose in text. Oh, the --- is not in my signature.
Anyways, it's fine now, since I set the default to 8bit and UTF-8
Actually its not fine.
I still see the -? -? -?
(I now see I may be posting this in the wrong forum, sorry)
Fixed in 1.1.2 http://trac.roundcube.net/ticket/1490353