diff options
author | alecpl <alec@alec.pl> | 2009-08-28 11:11:32 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-08-28 11:11:32 +0000 |
commit | 3e8b11194d741fb1221ef143cf96685e76086d10 (patch) | |
tree | 3b9d3e50d22016d78a96f4287b7cdd6594773883 | |
parent | f8a846c58997da50cb1737569d4c0d01f83b17d5 (diff) |
- Fix charset bug during loading attachment file (#1486064)
-rw-r--r-- | 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 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 "<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; } |