Re: Re: xml_parser_create patch
| From: | Moriyoshi Koizumi | Date: | Thu, 08 May 2003 12:19:08 +0000 |
| Subject: | Re: Re: xml_parser_create patch | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1376@lists.php.net to get a copy of this message | ||
Derick Rethans <derick@php.net> wrote:
> On Wed, 7 May 2003, Adam Dickmeiss wrote:
>
> > On Wed, May 07, 2003 at 12:33:20PM +0200, nicos@php.net wrote:
> > > -1 for the patch if it doesn't have a default value for the encoding.
> > >
> > > We don't want to break BC again.
> > I respect that. I hope Streling does too with a new layer on
> > top ..
> >
> > How about letting the empty string mean : Auto encoding??
> >
> > xml_parser_create(""); // any decoding! (pass 0 to Expat)
>
> too much magic.
I don't think so, as such a convension already exists in the
third parameter of htmlentities(). Are you going to come up with any other
solution?
Moriyoshi
> Derick
>
> --
> "my other box is your windows PC"
> -------------------------------------------------------------------------
> Derick Rethans
> http://derickrethans.nl/
> PHP Magazine - PHP Magazine for Professionals
> http://php-mag.net/
> -------------------------------------------------------------------------
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>