Feature #272 - A correction for the previous transaction.

skala
Ivan Tcholakov 16 years ago
parent 31ff6a8e04
commit 4a2391177f
  1. 2
      main/inc/lib/document.lib.php

@ -411,7 +411,7 @@ class DocumentManager {
header('Pragma: no-cache');
switch ($content_type) {
case 'text/html':
$encoding = @api_detect_encoding($full_string);
$encoding = @api_detect_encoding_html($full_string);
if (!empty($encoding)) {
$content_type .= '; charset='.$encoding;
}

Loading…
Cancel
Save