You are here

public static function PHPExcel_Shared_String::IsUTF8 in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php \PHPExcel_Shared_String::IsUTF8()

* Check if a string contains UTF8 data * *

Parameters

string $value: * @return boolean

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php, line 405

Class

PHPExcel_Shared_String
PHPExcel_Shared_String

Code

public static function IsUTF8($value = '') {
  return $value === '' || preg_match('/^./su', $value) === 1;
}