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

bugs at horde.org bugs at horde.org
Mon May 9 02:12:56 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         | wangshichen17 at gmail.com
  Summary            | Subject didn't encode with attachment
  Queue              | IMP
  Version            | 5.0.1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


wangshichen17 at gmail.com (2011-05-09 02:12) wrote:

I think that it is Big-5 that use double-8it to encode one Chinese  
word. Do you think that it is the reason caused this problem??
In fact, I have thought that it might be the problem of Big-5 charset.  
Therefore, i also tested for the UTF-8 charset.
Then, I found the same problem when using the UTF-8 charset.


> 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