Eliminatimg PHP UTF-8 BOM in a returned stream to a Mobile App
| From: | Eli Orr | Date: | Tue, 12 Apr 2011 07:13:58 +0000 |
| Subject: | Eliminatimg PHP UTF-8 BOM in a returned stream to a Mobile App | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-312338@lists.php.net to get a copy of this message | ||
Dear PHP Gurus,
I would like to Eliminate the 3 UTF-8 BOM enforced on my returned BLOB:
The PHP server adds utf-8 BOM (UTF-8 Byte Order Mark - in the beginning of
UTF-8 files) which
consists of three bytes: EF BB BF.
The Mobile App served by the server Does not need that. How can I eliminate
it??
Thanks.
UTF-8 Byte Order Mark – BOM:
http://unicode.org/faq/utf_bom.html#BOM
Best Regards,
Eli Orr
CTO & Founder
Mimmage.com
My virtual vCard
LogoDial Ltd.
M:+972-54-7379604
O:+972-74-703-2034
F: +972-77-3379604
Plaut 10, Rehovot, Israel
Email: Eli.Orr@LogoDial.com
Skype: eliorr.com
-----