Last active
August 29, 2015 14:06
-
-
Save joseluisq/7ca81798dad41e61d14b to your computer and use it in GitHub Desktop.
PHP Excel encoding string
This file contains 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 | |
function excel_encoding_string($string) { | |
return mb_convert_encoding($string, 'UTF-16LE', 'UTF-8'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment