Created
August 3, 2018 07:34
-
-
Save phamquocbuu/8a4ed15b66e4966db6384606f54c638f to your computer and use it in GitHub Desktop.
PHP-CSV - add BOM to fix UTF-8 in Excel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| fputs($fp, $bom =( chr(0xEF) . chr(0xBB) . chr(0xBF) )); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment