Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23168 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55953 invoked by uid 1010); 6 May 2006 15:26:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55938 invoked from network); 6 May 2006 15:26:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 May 2006 15:26:01 -0000 X-PHP-List-Original-Sender: frank@kromann.info X-Host-Fingerprint: 64.186.239.125 c-064-186-239-125.oc1.redwire.net Linux 2.5 (sometimes 2.4) (4) Received: from ([64.186.239.125:42319] helo=mail.kromann.info) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C7/E2-63443-900CC544 for ; Sat, 06 May 2006 11:26:01 -0400 Received: by mail.kromann.info (Postfix, from userid 510) id B1D364040C4; Sat, 6 May 2006 08:25:57 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mail.kromann.info X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL autolearn=ham version=3.1.1 Received: from warp (www.kromann.info [64.186.239.115]) by mail.kromann.info (Postfix) with SMTP id 9F78A4040BF for ; Sat, 6 May 2006 08:25:56 -0700 (PDT) To: X-Mailer: Swwwing 2000 Message-ID: <11469291413520000@9866357972520000.9866341568840000> MIME-Version: 1.0 Reply-To: "Frank M. Kromann" Date: Sat, 06 May 2006 08:25:41 -0700 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Tidy and Unicode changes From: frank@kromann.info ("Frank M. Kromann") Conpiles fine on Win32 now. - Frank > 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 > >