diff options
Diffstat (limited to 'system/application')
-rw-r--r-- | system/application/models/file_mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php index cd45f335c..7999c5c8c 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -201,7 +201,7 @@ class File_mod extends Model { $this->load->library("MemcacheLibrary"); if (! $cached = $this->memcachelibrary->get($filedata['hash'].'_'.$mode)) { ob_start(); - passthru('/usr/bin/pygmentize -l '.$mode.' -f html '.escapeshellarg($file)); + passthru('/usr/bin/pygmentize -O encoding=utf8 -F codetagify -l '.$mode.' -f html '.escapeshellarg($file)); $cached = ob_get_contents(); ob_end_clean(); $this->memcachelibrary->set($filedata['hash'].'_'.$mode, $cached, 100); |