[Tickets #10054] Re: Subject didn't encode with attachment

bugs at horde.org bugs at horde.org
Fri May 6 16:56:45 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/10054
------------------------------------------------------------------------------
  Ticket             | 10054
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Subject didn't encode with attachment
  Queue              | IMP
  Version            | 5.0.1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-05-06 16:56) wrote:

Is Big-5 one of those charsets that only contains ASCII characters,  
even though it represents an 8+bit representation?  That would explain  
this behavior.  See, e.g., Horde_mime::is8bit:

         /* ISO-2022-JP is a 7bit charset, but it is an 8bit representation so
          * it needs to be entirely encoded. */
         return is_string($string) &&
                ((stristr('iso-2022-jp', $charset) &&
                 (strstr($string, "\x1b\$B"))) ||
                 preg_match('/[\x80-\xff]/', $string));






More information about the bugs mailing list