From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 1F979BC37 for ; Tue, 26 Jan 2010 15:31:08 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnECAPuKXktKfVwZimdsb2JhbACDYY4DiWg/AQEBCgkMBxEFrHcBL4FAhTaINQEBAwWBIoI2XASDCQ X-IronPort-AV: E=Sophos;i="4.49,346,1262559600"; d="scan'208";a="42218129" Received: from qw-out-2122.google.com ([74.125.92.25]) by mail2-smtp-roc.national.inria.fr with ESMTP; 26 Jan 2010 15:31:07 +0100 Received: by qw-out-2122.google.com with SMTP id 9so185862qwb.33 for ; Tue, 26 Jan 2010 06:31:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ir3X0tXpndrPaUpRLYoJz5CcUK/ooj0W3yeSymcCwlk=; b=bGSCNR7CpItLS8FNIrVdZJDNd1mCpYt2AP87NHr+2vTtj6WR/eWnvSj/9zveeXw4Vi aYwQeI1CMGcQW3ykKtKGil7cHYNO+S50NxINtGgHZfYabtFob7JZugh7bVENeGp/mA2l 9U9TpALlolqF9wacWtRuRJXKJmc7qjmi+vVyQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tQVN4zOL3t9DtPvmKvJfoRhMcAYJwDjab/coZ1QZUhU/mP8P3URMI23JP78DZPsfkf Md4/oVcb5wkfZALqGSj8oyA14NpkamldPIOO9kX0p9G7oDy3ec1PssyHST/5QUixgCJY d+rIQC6w+IrhLg3Zc3UYhcXwJUeS8SnEJoUco= MIME-Version: 1.0 Received: by 10.220.165.130 with SMTP id i2mr1312088vcy.24.1264516266345; Tue, 26 Jan 2010 06:31:06 -0800 (PST) In-Reply-To: References: Date: Tue, 26 Jan 2010 23:31:06 +0900 Message-ID: Subject: Re: ExtLib/Camomile UTF8 From: Yoriyuki Yamagata To: Berke Durak Cc: ocaml-lib-devel@lists.sourceforge.net, caml-list , Richard Jones Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; camomile:01 yoriyuki:01 yamagata:01 yoriyuki:01 camomile:01 berke:01 durak:01 berke:01 durak:01 uchar:01 char:01 terminates:01 exception:01 functions:01 output:02 Sorry for answering very old message. I was looking to camomile related email and found this message. 2008/5/5 Berke Durak : > Hello, > > A few months ago I submitted a small patch to ExtLib to the UTF8 module, > adding three small but important functions > > - substring > - output_uchar > - eof Camomile do have substring (SubText module) and output_char (This is done by CharEncoding module). I'm not sure that EoF is required. The idea behind Camomile is that channels raise End_of_File exception when no character is available to read. I think today most file does not use EOF character to signify the end of file. They simply terminates. > The patch hasn't been integrated in the ExtLib SVN (I've checked the trunk > and tags on the SVN at code.google.com). > As it's actually a patch against Camomile, (at the time I didn't know at the > time that UTF8 was taken from Camomile), > Richard Jones suggested that this is where the patch should go. As I stated, Camomile does have things you suggested. It is different matter whether Extlib shoud have them. This is the matter for judgement of Extlib team. > Also maybe you could host Camomile at > forge.ocamlcore.org... What is the benefit of it? -- Yoriyuki Yamagata yoriyuki.y@gmail.com