Esempio n. 1
0
 public static function forceLatin1($text)
 {
     if (is_array($text)) {
         foreach ($text as $k => $v) {
             $text[$k] = KomentoStringHelper::forceLatin1($v);
         }
         return $text;
     }
     return utf8_decode(KomentoStringHelper::forceUTF8($text));
 }