OK. I willn't add 6-bytes characters suppport. You are right. The proper place for this function is ext/libxml. I will glad to use it, if somebody will implement this function there.
Thanks. Dmitry. > -----Original Message----- > From: Derick Rethans [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 10:34 > To: Dmitry Stogov > Cc: 'Rob Richards'; 'Marcus Boerger'; 'Dmitry Stogov'; > [EMAIL PROTECTED] > Subject: RE: [PHP-CVS] cvs: php-src /ext/soap php_encoding.c > > > On Wed, 8 Sep 2004, Dmitry Stogov wrote: > > > Hi, > > > > I should make a decision. > > Can anybody point me to some utf-8 specification document? > > http://www.unicode.org/faq/utf_bom.html#37 > http://www.unicode.org/versions/Unicode4.0.0/ch03.pdf > section 3.9, which proves that Rob is right and I was wrong > for using UTF-8 as Unicode encoding standard. > > (Though theoretically you could use UTF8 for 4 byte encodings > up to 6 bytes). > > Besides this, I do no think that we should introduce copied > versions into our extensions, but just block it from being > used with a configure check for this specific libxml2 > version. This also should not be done on an extension level, > but generally for PHP. (Or in case that we really want to add > a copied (+fixed) function, we should do that in ext/libxml > so that all extensions can make use of this. > > Derick > > -- > Derick Rethans > http://derickrethans.nl | http://ez.no | http://xdebug.org > > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php