Hi everybody...
i'm testing rc and i'd like to use it on my mail server...
But i found 2 bugs and i really need to fix it before start using.
So, first one...
- Attachment name with special caracters
When i choose a file to attach and click ''upload'' it works fine...
The attachment name seems to be ok (with it's special caracters working fine), but when i send the message the attachment name is changed... like this:
ÃÃ,©ÃƒÃ,¡ÃƒÃ,£ÃƒÃ,ªBBB.mpeg is changed to ????BBB.mpeg
i activated the DefaultCharset in .htaccess file using charset ISO-8859-1... but it didn't work...
Second one...
- where's the "/n" at the end of line on the message body?
There's no end of line in text messages...The whole text seems to be in only one line...
If i got a text message like this:
"roundcube
rox!!"
In rc, i see it like this:
"roundcube rox!!"
Does anyone know how to fix these 2 bugs?
I'm using rc 0.1 beta 2!
Any help will be appreciated!
Thanks :)
filenames with chars like that should have bizzare chars replaced with _ by using a regular expression.
as for the second one, if the message is text/plain, then the display of the body of the message should be in a
tag.
an alternative to the tag would be http://www.php.net/nl2br
Hi, at first sory for my english.
I have same problem with filename. then I send message with attach I receive filename like ?????????????? ??????????.txt
Default charset utf-8, language is russian.
Help me please.
anybody can help me?
/program/steps/mail/get.inc
- header(sprintf('Content-Disposition: %s; filename="%s";',
$_GET['_download'] ? 'attachment' : 'inline',
$part->filename ? iconv("UTF-8", "WINDOWS-1251", imap_utf8($part->filename)) : "roundcube.$ctype_secondary"));
Post this bug in the bug tracker at http://trac.roundcube.net/