[Tickets #2702] Preference for default encoding

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Mar 23 20:49:53 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2702
-----------------------------------------------------------------------
 Ticket             | 2702
 Updated By         | Michael Slusarz <slusarz at mail.curecanti.org>
 Summary            | Preference for default encoding
 Queue              | IMP
 Version            | HEAD
 State              | Feedback
 Priority           | 2. Medium
 Type               | Enhancement
 Owners             | Michael Slusarz
-----------------------------------------------------------------------


Michael Slusarz <slusarz at mail.curecanti.org> (2006-03-23 20:49) wrote:

> You also need to use the default charset for the email headers.

So we have to run every header line through String::convertCharset()?  In
that case, we really need to change the preference defaults back to
'US-ASCII' rather than this code:
    'value' => isset($GLOBALS['nls']['emails'][$GLOBALS['language']])
        ? $GLOBALS['nls']['emails'][$GLOBALS['language']]
        : (isset($GLOBALS['nls']['charsets'][$GLOBALS['language']])
            ? $GLOBALS['nls']['charsets'][$GLOBALS['language']]
            : 'ISO-8859-1'),
Because those convertCharset calls are going to add up in a hurry.




More information about the bugs mailing list