-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UTF-8 BOM #52
Comments
Can you explain what it is you are trying to do here? |
I use Your code, I get data from database (mysql/utf8_general_ci) and create .csv file. Afer I can't open in Microsoft Excel but can in Calc OpenOffice. Problem was in some records, it has dingbats characters, like: ❤ |
Isnt that what _bom option already does? |
Yes, that's it! Thanks! |
The solution for open CSV file with dingbats characters in Microsoft Excel is add special characters before return:
Line 158:
return "\xEF\xBB\xBF" . $this->_serialize();
The text was updated successfully, but these errors were encountered: