Hi,

I believe Andrei's also OK with the solution for this bug. As he said
when one of my colleagues went to a PHP conference (I couldn't this day
for personnal reasons), "English is not the only language".

Having an hardcoded encoding for the "php-side of life" is bad, we could
either make this a php.ini entry (or use a php.ini entry), or stick with
the way most xml functions are done in PHP (only accept UTF-8, that's
what my patch does).

Encoding non utf-8 valid data to base64 (WDDX "binary" type) would be
the best option, the only problem is the overhead of doing this (maybe
people have a need for transmission of binary data, but for now the PHP
WDDX extension isn't able to manage that, it's something else I'd like
to fix, and encoding everything from "ISO-8859-1" is not a solution).

For reference: http://bugs.php.net/46496


So, unless someone have time to bear with me and commit my stuff to WDDX
(I've already started some things for WDDX packet streaming, but anyway
5.2.7 isn't at a point it will accept any new features) I confirm my
request for a CVS account with the ability to edit ext/wddx/ and I hope
to be able to fix bug #46496 before 5.2.7 release.


Best regards,
Mark Karpeles

Le mardi 18 novembre 2008 à 16:23 -0800, Andrei Zmievski a écrit :
> Lukas Kahwe Smith wrote:
> >> I also intend later (and after some discussions, if anyone has any 
> >> interest in WDDX) to add a feature to WDDX to provide the ability to 
> >> stream a packet (create a packet ressource while providing a stream 
> >> descriptor, send the XML code for the variables when added, then close 
> >> the packet with an "end of packet" instruction). Providing the reverse 
> >> process would also have to be done at the same time, using event-based 
> >> xml parsing.
> >> This would allow memory-efficient creation of large packets.
> > 
> > 
> > Andrei is the maintainer for the WDDX extension.
> > Could you give Mark some feedback here?
> 
> I think that would be a good feature.
> 
> -Andrei
> 


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to