ID:               30440
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Livedocs problem
 Operating System: n/a
 PHP Version:      Irrelevant
 Assigned To:      iliaa
 New Comment:

The parser expects charset of the XML files to be UTF-8, for the French
translation it is ISO-8859-1. To solve many of the errors in parsing,
modify mkindex.php and change 
xml_parser_create("UTF-8");
to
xml_parser_create("ISO-8859-1");

This is not a livedocs bug, as the input should technically be UTF-8.


Previous Comments:
------------------------------------------------------------------------

[2005-06-20 17:19:06] [EMAIL PROTECTED]

I have still the same errors... Do I have to apply the patch again ?

------------------------------------------------------------------------

[2005-06-18 04:03:40] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------

[2005-04-20 20:37:16] [EMAIL PROTECTED]

I applied the patch and with French doc there are a lot of accents...
(é à ...)
I got only a Warning (the page is displayed but crash only at the
special character) :

XML: 1:33 Invalid character Line: 1 is <div><div
class="function_link"><function>pg_affected_rows</function> - Retourne
le nombre de lignes affectées</div>

<div><div class="function_link"><function>pg_affected_rows</function> -
Retourne le nombre de lignes affectées</div>
<div class="function_link"><function>pg_cancel_query</function> -
Annule une requête asynchrone</div>
...


It seems that it is only for displaying functions at the end of a
reference.xml file
Example : fr/ref.pgsql.html

------------------------------------------------------------------------

[2004-10-15 17:54:58] [EMAIL PROTECTED]

Confirmed that this patch fixes this problem.

Could someone with the necessary karma please patch & commit?

Thanks,
S

------------------------------------------------------------------------

[2004-10-15 17:44:09] [EMAIL PROTECTED]

That should be fixed with one of my patches:
http://livedocs.aborla.net/patch.php?id=entities

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/30440

-- 
Edit this bug report at http://bugs.php.net/?id=30440&edit=1

Reply via email to