diff --git a/include/common.inc.php b/include/common.inc.php
index 2cd761f9c..448d28ae1 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -181,8 +181,8 @@ if ($conf['gallery_locked'])
{
set_status_header(503, 'Service Unavailable');
@header('Retry-After: 900');
- echo l10n('gallery_locked_message')
- .'.';
+ header('Content-Type: text/html; charset='.get_pwg_charset());
+ echo ''.l10n('gallery_locked_message').'';
echo str_repeat( ' ', 512); //IE6 doesn't error output if below a size
exit();
}