Hi!
First of All, my apologies if you can't understand my message, but my English is terrible.
I use the latest svn version then I can change my default charset of RC, but I can't solve my problem.
I noticed that my problem wasn't in charset configuration, but among caracteres in subject.
I am not sure if it is a roundcube problem or "postfix + courier" problem or both.
Everytime that my subject have special character (áàçã) and It also have more than 32 characters, my message arrived strange format and without attachment in email client.
See below:
Original Subject: [Fw: FW: FW: Homologação - Novos Clubes Record -]
######
=?UTF-8?Q?cord?= MIME-Version: 1.0 Date: Mon, 22 Jun 2009 17:32:12 -0300 From: lalauser@i-brasiltec.com.br Message-ID: da24243c9b88db2b44eab7da4892b8cc@192.168.31.86 X-Sender: lalauser@i-brasiltec.com.br User-Agent: RoundCube Webmail/0.2.1 Content-Type: multipart/mixed; boundary="=_6852669b5708033bfe26d3091c074e08"
--=_6852669b5708033bfe26d3091c074e08 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8"
####
However I sended a same message but It had short subject (less 32 characters). It works perfectly.
I am confused.
Thans a lot!
Marcus Gmail escreveu:
I follow this "Changeset" http://trac.roundcube.net/changeset/2672 and I am going to try. As soon as possible I tell you.
Thanks a lot.
chasd escreveu:
On Jun 22, 2009, at 9:48 AM, Marcus Gmail wrote:
Any idea?
RC uses UTF-8 by default, which is a Good Thing, and works best for
most situations. If you have a specific need, you might want to deviate from the default. ( I think your other systems should be switched to UTF-8, rather than switching RC to ISO-8859-1. )You may need to change this in index.php
define('RCMAIL_CHARSET', 'UTF-8');
I found that by using this shell command :
find /var/www/roundcube -name '*.php' -exec grep -l UTF {} ; and then grepping each of the resulting files for UTF.
You may be using a different version of RC than I am, so that
constant might be defined in a different file. There may be other places where UTF-8 is hard coded, grep the *.inc
files.Changing the default charset might break other things, even if it
fixes the problem you are trying to fix.
List info: http://lists.roundcube.net/users/