Re: [PHP] Eliminatimg PHP UTF-8 BOM in a returned stream to a Mobile App

2011-04-12 Thread Richard Quadling
2011/4/12 Eli Orr eli@logodial.com: 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

RE: [PHP] Eliminatimg PHP UTF-8 BOM in a returned stream to a Mobile App

2011-04-12 Thread Eli Orr
Hi Richard, Thanks. Indeed, that is the case - I've included a code that has UTF-8 string contants -so I guess the PHP parser set the UTF-8 mode to ON so that the returned string to the client has the UTF-8 BOM. It is not a big issue as the mobile app guys aware of this and make the proper

Re: [PHP] Eliminatimg PHP UTF-8 BOM in a returned stream to a Mobile App

2011-04-12 Thread Richard Quadling
On 12 April 2011 11:59, Eli Orr eli@logodial.com wrote: Hi Richard, Thanks. Indeed, that is the case - I've included a code that has UTF-8 string contants -so I guess the PHP parser set the UTF-8 mode to ON so that the returned string to the client has the UTF-8 BOM. It is not a

Re: [PHP] Eliminatimg PHP UTF-8 BOM in a returned stream to a Mobile App

2011-04-12 Thread Richard Quadling
On 12 April 2011 12:50, Richard Quadling rquadl...@gmail.com wrote: On 12 April 2011 11:59, Eli Orr eli@logodial.com wrote: Hi Richard, Thanks. Indeed, that is the case - I've included a code that has UTF-8 string contants -so I guess the PHP parser set the UTF-8 mode to ON so that

RE: [PHP] Eliminatimg PHP UTF-8 BOM in a returned stream to a Mobile App

2011-04-12 Thread Eli Orr
Thanks Richard, Do you know a technique to mirror all the echo strings into a file for debugging ? Eli -Original Message- From: Richard Quadling [mailto:rquadl...@gmail.com] Sent: Tuesday, April 12, 2011 2:51 PM To: Eli Orr Cc: php-general@lists.php.net Subject: Re: [PHP]

RE: [PHP] Eliminatimg PHP UTF-8 BOM in a returned stream to a Mobile App

2011-04-12 Thread Eli Orr
Hi Richard, Thanks. I've already got a solution to simply use Notes++ and save the PHP script with Save As encoding set to ANSI (It was UTF-8 indeed that creates the BOM...). Thanks again Eli -Original Message- From: Richard Quadling [mailto:rquadl...@gmail.com] Sent: Tuesday,

Re: [PHP] Eliminatimg PHP UTF-8 BOM in a returned stream to a Mobile App

2011-04-12 Thread Richard Quadling
On 12 April 2011 13:29, Eli Orr eli@logodial.com wrote: Hi Richard, Thanks. I've already got a solution to simply use Notes++ and save the PHP script with Save As encoding set to ANSI (It was UTF-8 indeed that creates the BOM...). Thanks again Eli -Original Message- From: