Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36932 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43678 invoked from network); 11 Apr 2008 07:25:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2008 07:25:08 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.82.231 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.82.231 wx-out-0506.google.com Received: from [66.249.82.231] ([66.249.82.231:7260] helo=wx-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/10-42867-2521FF74 for ; Fri, 11 Apr 2008 03:25:07 -0400 Received: by wx-out-0506.google.com with SMTP id s14so418392wxc.26 for ; Fri, 11 Apr 2008 00:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ggg1msAsPjimr/Hj3lAUINdU/kPtTT5u4VSatYK7DUk=; b=Snsw+o4JhlLIX8FGt727blscAEX72jYjoI2d21nO4laMnx1fGikE0HgSBWgCZ2YbXiWlRvb95g+SeXaevGF5dU3mHINQSrhxIdveTWf8ltpbA79bPJQCodd0EcmQtFV5nbn415uZQYwNo40b7lMgpB1X+QRcBYCfxrbj8QgLtP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PpewFpLDMG/WqYYrD+oQTy7Qa/mLhtiCJ/AXKrgdeFdiR6MLhpzQqeh0IoyepY3+jdfX1NCbN0YVE96gXPlBoAo7l9i9rgs+PlZo+v7M8kuBH7Q596NFPgz+4pUev4VEwwJiDXIGqvquUzophtfM0A2pLK/l/mU2yn4IBFaU0xg= Received: by 10.141.87.13 with SMTP id p13mr1301573rvl.163.1207898313422; Fri, 11 Apr 2008 00:18:33 -0700 (PDT) Received: by 10.141.123.13 with HTTP; Fri, 11 Apr 2008 00:18:33 -0700 (PDT) Message-ID: Date: Fri, 11 Apr 2008 09:18:33 +0200 To: "Stanislav Malyshev" Cc: "PHP internals" In-Reply-To: <47FE6E82.5070207@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47FCF547.2090802@zend.com> <47FE58C3.3040207@zend.com> <47FE6579.6090107@zend.com> <47FE6E82.5070207@zend.com> Subject: Re: [PHP-DEV] intl win32, which ICU version and binaries? From: pierre.php@gmail.com ("Pierre Joye") On Thu, Apr 10, 2008 at 9:46 PM, Stanislav Malyshev wrote: > > Ah? in 3.6/8 it takes three arguments on my architecture (win xp, > > 32bit mode with amd64). Which version do you use? > > > > I have ICU 3.6 AFAIK. Here's a quote from unistr.h: > > /** > * UChar* constructor. > * @param text The characters to place in the UnicodeString. > * @param textLength The number of Unicode characters in text > * to copy. > * @stable ICU 2.0 > */ > UnicodeString(const UChar *text, > int32_t textLength); > > It compiles and it seems to work. Do you know about any problem with it? It should actually work. The idea behind the macro is to allow some optimization/performance tricks depending of the architecture. But for some unknown reasons, using their binaries or my own builds I keep getting this error with the UnicodeString constructor (using VC 2k3). Which VC do you use? Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org