Browse Source

fixes a bug in RSS display

pull/56/head
Martin Monperrus 10 years ago
parent
commit
988a5a3ec8
  1. 2
      bibtexbrowser.php

2
bibtexbrowser.php

@ -4094,7 +4094,7 @@ class RSSDisplay {
// final test with encoding: // final test with encoding:
if (function_exists('mb_check_encoding')) { // (PHP 4 >= 4.4.3, PHP 5 >= 5.1.3) if (function_exists('mb_check_encoding')) { // (PHP 4 >= 4.4.3, PHP 5 >= 5.1.3)
if (!mb_check_encoding($desc,OUTPUT_ENCODING,BIBTEX_INPUT_ENCODING)) {
if (!mb_check_encoding($desc,OUTPUT_ENCODING)) {
return 'encoding error: please check the content of OUTPUT_ENCODING'; return 'encoding error: please check the content of OUTPUT_ENCODING';
} }
} }

Loading…
Cancel
Save