Re: Working in UTF-8 - BOM trouble
| From: | Jan G.B. | Date: | Tue, 31 Mar 2009 09:47:36 +0000 |
| Subject: | Re: Working in UTF-8 - BOM trouble | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290882@lists.php.net to get a copy of this message | ||
2009/3/31 Merlin Morgenstern <merlin_x@fastmail.fm>:
> that php has trouble with files that are saved in UTF-8 with BOM. It is
> causing strange bahavior like adding extra headers. On the other hand most
> editors only save UTF-8 with BOM.
>
> Has somebody experienced the same problem? How did you overcome it?
>
Use an Editor that can save without BOM. :-)
I prefer Komodo Edit (Multiplattform) or Notepad++ or gPHPedit if it
should be lightweight.
All mentioned programs are opensource.
Bye