==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    https://bugs.contribs.org/show_bug.cgi?id=9282

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

Unnilennium <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |IN_PROGRESS
     Ever confirmed|0                           |1

--- Comment #2 from Unnilennium <[email protected]> ---
the solution
use Encode qw/encode decode/;


#changing subject (tagging), opening and writing new mail
my $Subject= $email->header("Subject");
my $decode = ($Subject =~ m/^=\?utf-8\?([BQ])+\?.*.*$/i)? $1:0 ;

[...]

$Subject = encode('MIME-'.$decode, $Subject) unless ( $decode == 0);
$email->header_set("Subject", $sadb->get_prop($mode, "tag").$Subject);


this way we decode and encode the subject whent it is encoded, and we use the
same encoding as before Q for Quoted printable and B for base64

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to