Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23166 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89983 invoked by uid 1010); 6 May 2006 10:51:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89968 invoked from network); 6 May 2006 10:51:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 May 2006 10:51:34 -0000 X-PHP-List-Original-Sender: nlopess@php.net X-Host-Fingerprint: 212.55.154.22 relay2.ptmail.sapo.pt Linux 2.4/2.6 Received: from ([212.55.154.22:57661] helo=sapo.pt) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 7A/FD-63443-5BF7C544 for ; Sat, 06 May 2006 06:51:34 -0400 Received: (qmail 21050 invoked by uid 0); 6 May 2006 10:51:29 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.206) by relay2 with SMTP; 6 May 2006 10:51:29 -0000 Received: (qmail 31431 invoked from network); 6 May 2006 10:51:30 -0000 X-AntiVirus: PTMail-AV 0.3.88 X-Virus-Status: Clean (0.00507 seconds) Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[81.193.154.117]) (envelope-sender ) by mta11 (qmail-ldap-1.03) with SMTP for ; 6 May 2006 10:51:30 -0000 Message-ID: <007601c670fb$07eccee0$0100a8c0@pc07653> To: "Andrei Zmievski" Cc: "Frank M. Kromann" , References: <11462516893160000@9866357972520000.9866341568840000> <004c01c66b05$7113f660$0100a8c0@pc07653> <9a30f08118f78c104949f9220ad56b3f@gravitonic.com> Date: Sat, 6 May 2006 11:51:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Subject: Re: [PHP-DEV] Tidy and Unicode changes From: nlopess@php.net ("Nuno Lopes") Thanks Andrei. I've already changed the code to use it. The windows builds should now be fixed. Nuno ----- Original Message ----- , > > 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