note 61493 added to function.setcookie
| From: | aNtiCHrist at osu1 dot php dot net | Date: | Sun, 05 Feb 2006 16:32:21 +0000 |
| Subject: | note 61493 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-103038@lists.php.net to get a copy of this message | ||
David Thomas wrote:
>Although I wish it were different, UTF-8 encoded scripts start output at the php tag
>declaration.
This ist not directly caused by the encoding but by the Byte Order Mark (BOM) which your Editor
places in the first byte of your file to make the chosen encoding clear. PHP currently has no
special handling for the BOM, so it passes this character to the User-Agent like any other
character. You should configure your editor to leave the BOM out and UTF-8 will work fine.
----
Server IP: 212.124.37.9
Probable Submitter: 84.182.129.134
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+61493
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61493&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61493&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61493&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61493&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61493&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61493&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61493&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+61493&report=yes
Search -- http://master.php.net/manage/user-notes.php