--- a/branches/2.5.4RC1/cgi-bin/yabb2/Sources/Subs.pm
+++ b/branches/2.5.4RC1/cgi-bin/yabb2/Sources/Subs.pm
@@ -19,7 +19,7 @@
 use English qw(-no_match_vars);
 our $VERSION = '2.5.41';
 
-$subspmver = 'YaBB 2.5.4 RC1 $Revision: 1391 $';
+$subspmver = 'YaBB 2.5.4 RC1 $Revision: 1400 $';
 
 if ($debug) { LoadLanguage('Debug'); }
 
@@ -144,6 +144,7 @@
             if ($LastModified) { $ret .= "Last-Modified: $LastModified\n"; }
             if ( $gzcomp && $gzaccept ) { $ret .= "Content-Encoding: gzip\n"; }
             $ret .= "Content-Type: $contenttype";
+			if ($mycharset) {$yycharset = $mycharset;}
             if ($yycharset) { $ret .= "; charset=$yycharset"; }
         }
     }