From 3e8b11194d741fb1221ef143cf96685e76086d10 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 28 Aug 2009 07:11:32 -0400 Subject: [PATCH] - Fix charset bug during loading attachment file (#1486064) --- program/steps/mail/get.inc | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc index f86c152..47dbc5f 100644 --- a/program/steps/mail/get.inc +++ b/program/steps/mail/get.inc @@ -25,11 +25,11 @@ $url = str_replace('&_preload=1', '', $_SERVER['REQUEST_URI']); $message = rcube_label('loadingdata'); - print "<html>\n<head>\n" . - '<meta http-equiv="refresh" content="0; url='.Q($url).'">' . - "\n</head>\n<body>" . - $message . - "\n</body>\n</html>"; + header('Content-Type: text/html; charset=' . RCMAIL_CHARSET); + print "<html>\n<head>\n" + . '<meta http-equiv="refresh" content="100; url='.Q($url).'">' . "\n" + . '<meta http-equiv="content-type" content="text/html; charset='.RCMAIL_CHARSET.'">' . "\n" + . "</head>\n<body>\n$message\n</body>\n</html>"; exit; } -- Gitblit v1.9.1