/** * Set the current encoding * * @param mixed The encoding (comma separated encodings is acceptable. * @return void */ public static function set_encoding($str) { if (!$str) { self::$_encoding = null; return; } self::$_encoding = $str; }