[rt-devel] I18N issues with 3.0.3pre1
Autrijus Tang
autrijus at autrijus.org
Tue Jun 3 02:47:24 EDT 2003
On Tue, Jun 03, 2003 at 03:22:37AM +0200, Roy-Magne Mo wrote:
> The subject seems to be correctly converted to UTF-8, but the encoding
> is tagged as ISO8859-1.
>
> Here is an example:
> Subject: [BlueCom #246] AutoReply: Flytte telefoni over
> =?ISO-8859-1?Q?p=C3=A5?= ADSL i Sandefjord
Action/SendEmail's invocation of encode_mimewords is very very
very borked. See the patch below.
/Autrijus/
--- /home/autrijus/depot/RT/import/lib/RT/Action/SendEmail.pm Thu May 29 05:55:03 2003
+++ SendEmail.pm Mon Jun 2 14:16:16 2003
@@ -589,7 +589,7 @@
# See RT::I18N, 'NOTES: Why Encode::_utf8_off before Encode::from_to'
Encode::_utf8_off($value);
my $res = Encode::from_to( $value, "utf-8", $enc );
- $value = encode_mimewords( $value, 'b', $enc );
+ $value = encode_mimewords( $value, Encoding => 'b', Charset => $enc );
$self->TemplateObj->MIMEObj->head->replace( $field, $value );
}
More information about the Rt-devel
mailing list