Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24229 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79880 invoked by uid 1010); 29 Jun 2006 10:45:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79865 invoked from network); 29 Jun 2006 10:45:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jun 2006 10:45:21 -0000 X-PHP-List-Original-Sender: andrei@gravitonic.com X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.5 (sometimes 2.4) (4) Received: from ([204.11.219.139:52900] helo=lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 2A/3C-15023-F3FA3A44 for ; Thu, 29 Jun 2006 06:45:21 -0400 Received: from [193.1.221.202] (dhcp-202.conf-net.heanet.ie [193.1.221.202] (may be forged)) (authenticated bits=0) by lerdorf.com (8.13.7/8.13.7/Debian-1) with ESMTP id k5TAjErK006699; Thu, 29 Jun 2006 03:45:16 -0700 In-Reply-To: <3CC9D1B0-0BC8-436C-9956-B6AA33A2A925@skytag.com> References: <3CC9D1B0-0BC8-436C-9956-B6AA33A2A925@skytag.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <9A56889D-F34D-40E8-ABFA-46FED3636FA2@gravitonic.com> Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Thu, 29 Jun 2006 11:45:16 +0100 To: Gwynne X-Mailer: Apple Mail (2.750) Subject: Re: [PHP-DEV] Unicode normalization forms From: andrei@gravitonic.com (Andrei Zmievski) Yes, there will be an API to convert the text between various normalization forms. PHP itself, however, expects the strings you give it to be in the NFC form, in case you were curious. -Andrei On Jun 29, 2006, at 10:13 AM, Gwynne wrote: > Every time I see the Unicode support in PHP 6 getting better, I > like it more. But I have a question related to a problem I recently > had to solve with an external script in my code: Will there be any > way to access different normalization forms from inside PHP? After > a great deal of research and attempting various methods, I ended up > using a hacked version of an ancient Perl script from W3C to get > normalized Unicode, and I'm hoping there'll be something better in > the offing. I don't have the Unicode skill to write a normalization > routine as either PHP or a PHP extension, not to mention I don't > want to haul around that giant datafile of decompositions :). > > -- Gwynne, Daughter of the Code > "This whole world is an asylum for the incurable." > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php