diff options
Diffstat (limited to 'includes/unicode.inc')
-rw-r--r-- | includes/unicode.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/unicode.inc b/includes/unicode.inc index 7f546d4f9..93ec81772 100644 --- a/includes/unicode.inc +++ b/includes/unicode.inc @@ -148,7 +148,7 @@ function drupal_xml_parser_create(&$data) { $data = ereg_replace('^(<\?xml[^>]+encoding)="([^"]+)"', '\\1="utf-8"', $out); } else { - watchdog('php', t("Could not convert XML encoding %s to UTF-8.", array('%s' => $encoding)), WATCHDOG_WARNING); + watchdog('php', 'Could not convert XML encoding %s to UTF-8.', array('%s' => $encoding), WATCHDOG_WARNING); return 0; } } @@ -181,7 +181,7 @@ function drupal_convert_to_utf8($data, $encoding) { $out = @recode_string($encoding .'..utf-8', $data); } else { - watchdog('php', t("Unsupported encoding %s. Please install iconv, GNU recode or mbstring for PHP.", array('%s' => $encoding)), WATCHDOG_ERROR); + watchdog('php', 'Unsupported encoding %s. Please install iconv, GNU recode or mbstring for PHP.', array('%s' => $encoding), WATCHDOG_ERROR); return FALSE; } |