#24799 [Ver]: Warnings at pear.php.net
| From: | nicos@php.net | Date: | Thu, 31 Jul 2003 09:37:58 +0000 |
| Subject: | #24799 [Ver]: Warnings at pear.php.net | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19019@lists.php.net to get a copy of this message | ||
ID: 24799
Updated by: nicos@php.net
Reported By: tony2001 at phpclub dot net
Status: Verified
Bug Type: PEAR related
Operating System: doesn't matter
PHP Version: Irrelevant
Assigned To: mj
New Comment:
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>';
Previous Comments:
------------------------------------------------------------------------
[2003-07-31 04:35:25] nicos@php.net
KOI8-R is supported since 4.3.0, we should upgrade?
------------------------------------------------------------------------
[2003-07-25 01:57:29] tony2001 at phpclub dot net
Yes, for example:
http://pear.php.net/manual/ru/pecl.imagick.php
Short examination shows that this warning can be found at any page of
russian version of the manual.
And there is another one issue about manual:
english version of http://pear.php.net/manual/ru/pecl.imagick.php
contains only words "Table of Contents" at the bottom, while russian
version contains non-translated function reference. Is it ok?
------------------------------------------------------------------------
[2003-07-25 01:29:19] mj@php.net
Can you tell us, for which URL you get this error?
------------------------------------------------------------------------
[2003-07-25 01:27:09] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24799&edit=1