예제 #1
0
 /**
  *  filter to UTF-8, converts invalid $text as CP1252 and forces NFC normalization
  *
  * @param mixed $text
  *
  * @return string
  */
 public static function utf8_encode($text)
 {
     return Utf8::filter($text);
 }