Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
<?php // Reading file $sFileName = 'utf8.txt'; $hFile = fopen($sFileName, 'rb'); $contents = fread($hFile, filesize($sFileName)); fclose($hFile); if(strtoupper(substr(bin2hex($contents), 0, 6)) === 'EFBBBF') echo 'UTF-8 encoded file recognized.'; else echo 'Not recognized as a UTF-8 encoded file.'; ?>