From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Unicode string normalization Date: Mon, 4 Jan 2010 18:04:44 -0800 (PST) Message-ID: <417254.15002.qm@web37906.mail.mud.yahoo.com> References: <2bc5f8211001012138r20128284k824f24e332c37a1e@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1262665719 22868 80.91.229.12 (5 Jan 2010 04:28:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2010 04:28:39 +0000 (UTC) To: Julian Graham , guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 05 05:28:32 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from terminus-est.gnu.org ([66.92.78.210] helo=lists.gnu.org) by lo.gmane.org with esmtp (Exim 4.50) id 1NS11w-0007nX-AG for guile-devel@m.gmane.org; Tue, 05 Jan 2010 05:28:28 +0100 Original-Received: from localhost ([127.0.0.1]:47195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NS11w-0006R3-DL for guile-devel@m.gmane.org; Mon, 04 Jan 2010 23:28:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NS0oT-0006nb-A2 for guile-devel@gnu.org; Mon, 04 Jan 2010 23:14:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NS0oO-0006kN-GX for guile-devel@gnu.org; Mon, 04 Jan 2010 23:14:32 -0500 Original-Received: from [199.232.76.173] (port=52766 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NS0Ko-0006w7-NS for guile-devel@gnu.org; Mon, 04 Jan 2010 22:43:54 -0500 Original-Received: from web37906.mail.mud.yahoo.com ([209.191.91.168]:41490) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NRyms-0001zK-Lz for guile-devel@gnu.org; Mon, 04 Jan 2010 21:04:46 -0500 Original-Received: (qmail 15726 invoked by uid 60001); 5 Jan 2010 02:04:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1262657084; bh=ePCfZqEbK/9p5o6clgxBBuWfGhIjmVeurvjRofqFcrE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tNe3YyegPhx9JxYPEKqsP1X6oaVnOE7RR5dzMWnBuWpYWsTQ46fK4y0J7CZitKl5aKbmRPTpzClRdYeyDtxUIeykSRmHMv2uz+kZgXhDfzj/6T9naRcLqBH26AzMBe7f8QyW3E7aw8E8shQl2SLlH4dJF+YLQnHf17iviD+0a1A= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vi251QZwr/7lYN9cDTn36q5VcK9rOEzcd10x1Ym9IYz/R8uN536Ff7zipJNRW8ZYhD1N+xagk0VFC6/kyU58rziKHU9rJXsZnX7r/+q9X0wNL0gqpf0HvjtXMQNWdr+6yfHdB8uUtDMrjDgUjPBxEEDedinqkOXOuJvq4tTzLyc=; X-YMail-OSG: N7xoCbgVM1nHUuL5F6Pg8C37f.higcZCKK4JwPMJr3c2GOjEilz1joZdDWSKmHmYrufR7hOu_Kxso26mjMZDDH9IVAgzT1.Exgg4iTRcyYVYsOPWuXlayQoeR4E_Xr1c7Un.SpFwdC6fQ1UUUT0tDQXiA_Uw8ZlbnId1S8HeI58Y_1ZF1R_rYO80.Nt5SIGwdwAMxnIkjW3R4Umb_VCRdJZO9yqs6JDl49EzHootrjuWjYzUx58s6gKBWEl6ZgHI8D1Jg8sBpFzn3yp61HFtDE53wQyFUHY94C2YvdoSJOdnC8a7gD0IbitMpjX2Uz4uIPmY3FDNKY0GDg-- Original-Received: from [207.8.91.2] by web37906.mail.mud.yahoo.com via HTTP; Mon, 04 Jan 2010 18:04:44 PST X-Mailer: YahooMailRC/240.3 YahooMailWebService/0.8.100.260964 In-Reply-To: <2bc5f8211001012138r20128284k824f24e332c37a1e@mail.gmail.com> X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9823 Archived-At: > From: Julian Graham =0A> =0A> Hi Guilers,=0A> =0A> Hap= py new year!=0A> =0A> Find attached a patch that adds C and Scheme support = for the four=0A> Unicode string normalization forms [0], along with documen= tation and=0A> unit tests.=A0 The API matches the one described in R6RS Sta= ndard=0A> Libraries 1.2 [1].=A0 Questions?=A0 Comments?=0A=0ASorry I'm late= on this.=0A=0AYou might consider checking if the string created by normali= ze_str=0Ashould be reduced to=A0the 1-byte-per-character representation.=A0= The procecure=0Ascm_i_try_narrow_string could be used for that.=0A=0A-Mike= =0A