[wp-hackers] Theme functions.php Encoding Weirdness

Matt speedboxer at gmail.com
Sun Jan 13 03:42:53 GMT 2008


There's these characters before <?php



On Jan 12, 2008 7:32 PM, Jeremy Visser <jeremy.visser at gmail.com> wrote:

> On Sat, 2008-01-12 at 19:24 -0800, Matt wrote:
> > In Trunk, if the theme's functions.php has the encoding UTF-8, I get the
> > following error when editting settings:
> >
> > *Warning*: Cannot modify header information - headers already sent by
> > (output started at /path/to/wp-content/themes/themename/functions.php:1)
> in
> > */path/to/wp-includes/pluggable.php* on line *600*
> >
> > But, when I changed functions.php to ANSI, there was no error.
> >
> > The settings are still changed, though.
>
> Possibly there is a BOM (byte-order mark) sneaking in there somewhere.
> Try looking at it in a hex editor.
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Matt (speedboxer at gmail.com)
http://mattsblog.ca/


More information about the wp-hackers mailing list