Re: php 5.2.6 / apache 2.2.9 / windows 2003 / mbstring puts BOM on binary files!
- From: mrclay <steve@xxxxxxxxxx>
- Date: Mon, 13 Oct 2008 04:51:11 -0700 (PDT)
On Oct 12, 12:11 am, Mehdy Mohajery <biho...@xxxxxxxxx> wrote:
header('Content-Type: application/octet-stream');
it strips BOM from .zip and .pdf files but not .rar files.
Strange. Is this behavior identical in all browsers? Have you looked
at the raw HTTP output with a proxy like Fiddler (it has a hex viewer
so you might be able to verify the BOM)? If you're on Windows Fiddler
works for IE and Safari without any configuration.
Steve
.
- Follow-Ups:
- Re: php 5.2.6 / apache 2.2.9 / windows 2003 / mbstring puts BOM on binary files!
- From: Mehdy Mohajery
- Re: php 5.2.6 / apache 2.2.9 / windows 2003 / mbstring puts BOM on binary files!
- References:
- Prev by Date: Re: [PHP] Setcookie()
- Next by Date: Re: [PHP] Setcookie()
- Previous by thread: Re: php 5.2.6 / apache 2.2.9 / windows 2003 / mbstring puts BOM on binary files!
- Next by thread: Re: php 5.2.6 / apache 2.2.9 / windows 2003 / mbstring puts BOM on binary files!
- Index(es):
Relevant Pages
|