note 58965 added to function.fgets
| From: | Matryx at osu1 dot php dot net | Date: | Tue, 22 Nov 2005 16:02:35 +0000 |
| Subject: | note 58965 added to function.fgets | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98930@lists.php.net to get a copy of this message | ||
Should you be trying to read from a forced UTF8 stream, but despite all your attempts you keep
finding broken codes (e.g.
<td style="width:180px"><img src
5a8
="/pan/img/inv.gif">
throughout the code, curl the file to a local copy, and then open it from there. Some webservers
ignore your request to have the feed in non-UTF8 format and this is the way I had to get around it
when UTF8_decode() did nothing.
----
Manual Page -- http://www.php.net/manual/en/function.fgets.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58965
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58965&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58965&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58965&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58965&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58965&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58965&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58965&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58965&report=yes
Search -- http://master.php.net/manage/user-notes.php