Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23163 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96860 invoked by uid 1010); 5 May 2006 21:10:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96845 invoked from network); 5 May 2006 21:10:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 May 2006 21:10:08 -0000 X-PHP-List-Original-Sender: andrei@gravitonic.com X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.5 (sometimes 2.4) (4) Received: from ([204.11.219.139:35207] helo=lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id E3/4D-63443-E2FBB544 for ; Fri, 05 May 2006 17:10:07 -0400 Received: from [66.228.175.145] (borndress-lm.corp.yahoo.com [66.228.175.145]) (authenticated bits=0) by lerdorf.com (8.13.6/8.13.6/Debian-1) with ESMTP id k45LA2HM014436; Fri, 5 May 2006 14:10:02 -0700 In-Reply-To: <004c01c66b05$7113f660$0100a8c0@pc07653> References: <11462516893160000@9866357972520000.9866341568840000> <004c01c66b05$7113f660$0100a8c0@pc07653> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <9a30f08118f78c104949f9220ad56b3f@gravitonic.com> Content-Transfer-Encoding: 7bit Cc: "Frank M. Kromann" , Date: Fri, 5 May 2006 14:09:30 -0700 To: "Nuno Lopes" X-Mailer: Apple Mail (2.623) Subject: Re: [PHP-DEV] Tidy and Unicode changes From: andrei@gravitonic.com (Andrei Zmievski) Nuno, There is zend_unicode_to_ascii() now. Check zend_unicode.c. It will return NULL if string cannot be converted to ASCII. -Andrei On Apr 28, 2006, at 1:50 PM, Nuno Lopes wrote: > Well, I just need some way to convert a unicode string to ASCII. > Probably there should exist a specific function (or a global > converter) to accomplish this. Anyway that function should be > exported. > > Nuno > > ----- Original Message ----- >> Hello, >> >> Not sure if you added a call to zend_set_converter_encoding() in the >> current version of tidy.c, but this function is declared as an >> internal >> function and this call prevents the tidy extension from building as >> shared. >> >> Can we find another way of doing this or get the core guys to add >> ZEND_API >> macros to the function? >> >> - Frank > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php