From 3e8b11194d741fb1221ef143cf96685e76086d10 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 28 Aug 2009 11:11:32 +0000 Subject: [PATCH] - Fix charset bug during loading attachment file (#1486064) --- program/steps/mail/get.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc index f86c152c6..47dbc5f9c 100644 --- a/program/steps/mail/get.inc +++ b/program/steps/mail/get.inc @@ -25,11 +25,11 @@ if (!empty($_GET['_preload'])) { $url = str_replace('&_preload=1', '', $_SERVER['REQUEST_URI']); $message = rcube_label('loadingdata'); - print "\n\n" . - '' . - "\n\n" . - $message . - "\n\n"; + header('Content-Type: text/html; charset=' . RCMAIL_CHARSET); + print "\n\n" + . '' . "\n" + . '' . "\n" + . "\n\n$message\n\n"; exit; }