Re: Re: PHP 5.2.1RC3 Released
| From: | Nuno Lopes | Date: | Thu, 25 Jan 2007 17:07:45 +0000 |
| Subject: | Re: Re: PHP 5.2.1RC3 Released | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27658@lists.php.net to get a copy of this message | ||
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 <ilia@prohost.org> wrote:PCRE should operate in UTF-8 mode.How does UTF-8 help to make it locale compliant? --Pierre