|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-07-25 01:27 UTC] tony2001 at phpclub dot net
Description: ------------ Multiple warnings at pear.php.net: Warning: htmlspecialchars() [function.htmlspecialchars]: charset `KOI8-R' not supported, assuming iso-8859-1 in /usr/local/www/pearweb/include/pear-manual.php on line 107 Solution: upgrade PHP to 4.3.2 - koi8-r was added in this version. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 20:00:01 2025 UTC |
Here is a patch that could hide the warning until we fix the real problem: Index: pear-manual.php =================================================================== RCS file: /repository/pearweb/include/pear-manual.php,v retrieving revision 1.21 diff -u -u -r1.21 pear-manual.php --- pear-manual.php 28 May 2003 18:00:09 -0000 1.21 +++ pear-manual.php 31 Jul 2003 09:37:01 -0000 @@ -104,13 +104,13 @@ echo '<tr><td>'; if ($PREV[1]) { - print_link( $PREV[0] , make_image('caret-l.gif', 'previous') . htmlspecialchars($PREV[1],ENT_QUOTES,$CHARSET) ) ; + print_link( $PREV[0] , make_image('caret-l.gif', 'previous') . @htmlspecialchars($PREV[1],ENT_QUOTES,$CHARSET) ) ; } echo '<br /></td>'; echo '<td align="right">'; if ($NEXT[1]) { - print_link( $NEXT[0] , htmlspecialchars($NEXT[1],ENT_QUOTES,$CHARSET) . make_image('caret-r.gif', 'next') ) ; + print_link( $NEXT[0] , @htmlspecialchars($NEXT[1],ENT_QUOTES,$CHARSET) . make_image('caret-r.gif', 'next') ) ; } echo '<br /></td>'; echo '</tr>';