Everything that uses libxml is probably affected by this behaviour. I'll do
some tests to verify this and commit if it is the case.

On 7/28/07, Hannes Magnusson <[EMAIL PROTECTED]> wrote:
>
> Neat fix.
> This should probably also be applied to ext/dom...
>
> -Hannes
>
> On 7/29/07, Nicolas Bérard-Nault <[EMAIL PROTECTED]> wrote:
> > nicobn          Sat Jul 28 23:45:57 2007 UTC
> >
> >   Modified files:
> >     /phpdoc/en  language-defs.ent
> >     /phpdoc/en/reference/xmlreader      reference.xml
> >   Log:
> >   Patch for bug #42095
> >
> >
> >
> http://cvs.php.net/viewvc.cgi/phpdoc/en/language-defs.ent?r1=1.31&r2=1.32&diff_format=u
> > Index: phpdoc/en/language-defs.ent
> > diff -u phpdoc/en/language-defs.ent:1.31 phpdoc/en/language-defs.ent:
> 1.32
> > --- phpdoc/en/language-defs.ent:1.31    Sat Jun 16 21:08:01 2007
> > +++ phpdoc/en/language-defs.ent Sat Jul 28 23:45:57 2007
> > @@ -1,4 +1,4 @@
> > -<!-- $Revision: 1.31 $ -->
> > +<!-- $Revision: 1.32 $ -->
> >
> >  <!-- Part titles used mostly in manual.xml itself -->
> >  <!ENTITY PHPManual         "PHP Manual">
> > @@ -41,6 +41,7 @@
> >  <!ENTITY reftitle.constants    '<title>Predefined Constants</title>'>
> >  <!ENTITY reftitle.constructor  '<title>Constructor</title>'>
> >  <!ENTITY reftitle.description  '<title>Description</title>'>
> > +<!ENTITY reftitle.encoding     '<title>Encoding</title>'>
> >  <!ENTITY reftitle.examples     '<title>Examples</title>'>
> >  <!ENTITY reftitle.exceptions   '<title>Exceptions</title>'>
> >  <!ENTITY reftitle.errors       '<title>Errors/Exceptions</title>'>
> >
> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xmlreader/reference.xml?r1=1.3&r2=1.4&diff_format=u
> > Index: phpdoc/en/reference/xmlreader/reference.xml
> > diff -u 
> > phpdoc/en/reference/xmlreader/reference.xml:1.3phpdoc/en/reference/xmlreader/reference.xml:
> 1.4
> > --- phpdoc/en/reference/xmlreader/reference.xml:1.3     Wed Jun 20
> 22:25:37 2007
> > +++ phpdoc/en/reference/xmlreader/reference.xml Sat Jul 28 23:45:57 2007
> > @@ -1,5 +1,5 @@
> >  <?xml version="1.0" encoding="iso-8859-1"?>
> > -<!-- $Revision: 1.3 $ -->
> > +<!-- $Revision: 1.4 $ -->
> >  <!-- Purpose: xml -->
> >  <!-- Membership: pecl, bundled, external -->
> >
> > @@ -18,6 +18,15 @@
> >      </para>
> >     </section>
> >
> > +   <section xml:id="xmlreader.encoding">
> > +    &reftitle.encoding;
> > +    <para>
> > +     It is important to note that internally, libxml uses the UTF-8
> encoding
> > +     and as such, the encoding of the retrieved contents will always be
> in
> > +     UTF-8 encoding.
> > +    </para>
> > +   </section>
> > +
> >     &reference.xmlreader.configure;
> >
> >     <section xml:id='xmlreader.classes'>
> >
>



-- 
Nicolas Bérard-Nault ([EMAIL PROTECTED])
Étudiant D.E.C. Sciences, Lettres & Arts
Cégep de Sherbrooke

Homepage: http://nicobn.googlepages.com

Reply via email to