On Mon, Mar 25, 2013 at 11:14 PM, Michael Heydekamp <[email protected]> wrote: > Am 19.02.2013 22:24, schrieb Reindl Harald: >> Am 19.02.2013 21:37, schrieb Michael Heydekamp: > >>> Hi there, >>> >>> is it deliberate that a reply to a message with the subject header ... >>> >>> -------------------------------------------------- >>> Subject: Re: [TICKET #38797] Ankündigung Kündigung >>> -------------------------------------------------- >>> >>> ... leaves the subject entirely empty?? >>> >>> Of course the subject does contain 8-bit chars and is therefore not encoded >>> correctly (or to be more precise, it's not encoded at all), but is this a >>> good reason to delete it completely upon replying? >> >> PHP 5.4? > > No, 5.3.3-7+squeeze14 with Suhosin-Patch (cli)
Works for me with PHP 5.4. > >> default behavior starting with 5.4 is idiotically >> return an empty string if the inout is not a valid >> UTF8 string and do not log any warning [...] > > Well, but then this can't be the cause, right? It could, because the Subject indeed contains latin1 characters which are not correctly encoded. It's a typical example of crappy email messages sent around from PHP scripts tackled together by stupid programmers. The message doesn't specify a Content-Type and no charset at all. And it nonetheless contains plain Latin1 characters in both the body and the subject. In this case, Roundcube falls back to default_charset config option. The message renders correctly for me with $rcmail_config['default_charset'] = 'ISO-8859-1'; and also replying works fine in that case. ~Thomas _______________________________________________ Roundcube Development discussion mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/dev
