public function checkUnicodeSupport() { if (null === static::$unicodeEnabled) { static::$unicodeEnabled = @preg_match('/\\pL/u', 'a') ? true : false; } return static::$unicodeEnabled; }