From 8564e5fcd6453096a1b80d0d7df0717ce001bbb2 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sun, 29 Jun 2008 17:12:25 +0200 Subject: [PATCH] [svn r15650] Added charsets allowed by edit form in authorized charsets --- main/newscorm/learnpath.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 578c4f5f4c..5b7835102e 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -3385,7 +3385,7 @@ class learnpath { function set_encoding($enc='ISO-8859-1'){ if($this->debug>0){error_log('New LP - In learnpath::set_encoding()',0);} $enc = strtoupper($enc); - $encodings = array('UTF-8','ISO-8859-1','ISO-8859-15','SHIFT-JIS'); + $encodings = array('UTF-8','ISO-8859-1','ISO-8859-15','cp1251','cp1252','KOI8-R','BIG5','GB2312','Shift_JIS','EUC-JP',''); if(in_array($enc,$encodings)){ $lp = $this->get_id(); if($lp!=0){