summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Header
diff options
context:
space:
mode:
authortmu <tmu>2002-05-23 11:03:29 +0000
committertmu <tmu>2002-05-23 11:03:29 +0000
commit06966b2f94b6bc579d418bfebdba2b2375eeba4f (patch)
tree1eb8a9e5932b110915a0a4ca82871181b00b9e28 /fml/lib/FML/Header
parent097276291e0b3072aa85f9078609e468515375b7 (diff)
downloadfml8-06966b2f94b6bc579d418bfebdba2b2375eeba4f.tar.gz
fml8-06966b2f94b6bc579d418bfebdba2b2375eeba4f.tar.bz2
fml8-06966b2f94b6bc579d418bfebdba2b2375eeba4f.zip
add mime decode for subject
Diffstat (limited to 'fml/lib/FML/Header')
-rw-r--r--fml/lib/FML/Header/Subject.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/fml/lib/FML/Header/Subject.pm b/fml/lib/FML/Header/Subject.pm
index e7e5532c..f4c5eaba 100644
--- a/fml/lib/FML/Header/Subject.pm
+++ b/fml/lib/FML/Header/Subject.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Subject.pm,v 1.23 2001/12/22 09:21:07 fukachan Exp $
+# $FML: Subject.pm,v 1.24 2002/04/24 14:28:15 tmu Exp $
#
package FML::Header::Subject;
@@ -70,6 +70,10 @@ sub rewrite_subject_tag
my $tag = $config->{ subject_tag };
my $subject = $header->get('subject');
+ # decode mime
+ use Mail::Message::Decode qw(decode_mime_string);
+ $subject = decode_mime_string( $subject );
+
# cut off Re: Re: Re: ...
$self->_cut_off_reply(\$subject);