Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27658 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66417 invoked by uid 1010); 25 Jan 2007 17:08:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 66400 invoked from network); 25 Jan 2007 17:08:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2007 17:08:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=nlopess@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=nlopess@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 212.55.154.21 cause and error) X-PHP-List-Original-Sender: nlopess@php.net X-Host-Fingerprint: 212.55.154.21 relay1.ptmail.sapo.pt Linux 2.4/2.6 Received: from [212.55.154.21] ([212.55.154.21:33980] helo=sapo.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/93-13597-AF3E8B54 for ; Thu, 25 Jan 2007 12:08:11 -0500 Received: (qmail 4099 invoked from network); 25 Jan 2007 17:08:01 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.210) by relay1 with SMTP; 25 Jan 2007 17:08:01 -0000 Received: (qmail 14223 invoked from network); 25 Jan 2007 17:07:57 -0000 X-AntiVirus: PTMail-AV 0.3-0.88.6 X-Virus-Status: Clean (0.07411 seconds) Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[82.155.77.143]) (envelope-sender ) by mta15 (qmail-ldap-1.03) with SMTP for ; 25 Jan 2007 17:07:57 -0000 Message-ID: <004e01c740a3$599a2670$0100a8c0@pc07653> To: "Andrei Zmievski" , "Pierre" Cc: "Ilia Alshanetsky" , References: <0F741213-BCA4-4923-A83A-3E4E9C561DAE@prohost.org> <45B897E5.40007@zend.com> <41936.195.22.180.233.1169730121.squirrel@avilys.eik.lt> <45B8B2E5.4010204@zend.com> <40869.195.22.180.233.1169733866.squirrel@avilys.eik.lt> <3ED37F9A-9BC8-4BBA-BB85-77BB0B188074@prohost.org> <000b01c74090$60bce950$0100a8c0@pc07653> <017A7F13-255C-4C7E-B22F-7481CCE07BAB@prohost.org> <000a01c74093$b03dd180$0100a8c0@pc07653> <0EFF1969-038A-4F67-872C-674B99E75009@prohost.org> <6b4d01c77cd1c8ca09b68d822bcd1f15@gravitonic.com> Date: Thu, 25 Jan 2007 17:07:45 -0000 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.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Subject: Re: [PHP-DEV] Re: PHP 5.2.1RC3 Released From: nlopess@php.net ("Nuno Lopes") But how do I match only portuguese letters? you'll (always) need posix locales.. I don't think forcing preg_* function to utf-8 is a good idea, but anyway I haven't looked enough to PHP 6 (yet) to produce a strong opinion. Nuno > Because with UTF-8, PCRE already knows the uppercase and lowercase > equivalents, without having to rely on the POSIX locales. > > -Andrei > > On Jan 25, 2007, at 7:24 AM, Pierre wrote: > >> On 1/25/07, Ilia Alshanetsky wrote: >>> PCRE should operate in UTF-8 mode. >> >> How does UTF-8 help to make it locale compliant? >> >> --Pierre