From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p1SEdB13004266 for ; Mon, 28 Feb 2011 15:39:11 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmUEAMpCa03Cpx5ei2dsb2JhbACYAI5GFQEBAQoLChgliD+zT4VhBI9bGg X-IronPort-AV: E=Sophos;i="4.62,239,1297033200"; d="scan'208";a="76742866" Received: from sucre.univ-orleans.fr ([194.167.30.94]) by mail3-smtp-sop.national.inria.fr with ESMTP; 28 Feb 2011 15:39:02 +0100 Received: from localhost (localhost [127.0.0.1]) by sucre.univ-orleans.fr (Postfix) with ESMTP id CA7359438C; Mon, 28 Feb 2011 15:39:01 +0100 (CET) Received: from sucre.univ-orleans.fr ([127.0.0.1]) by localhost (sucre.univ-orleans.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lX1gu0wW+pq3; Mon, 28 Feb 2011 15:39:01 +0100 (CET) Received: from smtps.univ-orleans.fr (smtps.univ-orleans.fr [194.167.30.152]) by sucre.univ-orleans.fr (Postfix) with ESMTP id AF1D594382; Mon, 28 Feb 2011 15:39:01 +0100 (CET) Received: from [192.168.6.18] (unknown [80.70.32.140]) by smtps.univ-orleans.fr (Postfix) with ESMTP id D0A6236E62; Mon, 28 Feb 2011 15:39:03 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=iso-8859-1 From: David Rajchenbach-Teller In-Reply-To: Date: Mon, 28 Feb 2011 15:39:00 +0100 Cc: Christophe TROESTLER , OCaml Mailing List Message-Id: <5684C9BD-9658-49E8-89A6-82648BDFAC7E@ens-lyon.org> References: <20110228.093528.996524125295855263.Christophe.Troestler@umons.ac.be> To: =?iso-8859-1?Q?Daniel_B=FCnzli?= X-Mailer: Apple Mail (2.1082) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p1SEdB13004266 Subject: Re: [Caml-list] GSoC: better UTF-8 support Don't forget to check OCaml Batteries Included. Some of the work is already done (including an extended printf that handles UTF-8 and is further user-extensible). Cheers, David On Feb 28, 2011, at 9:58 AM, Daniel Bünzli wrote: >> - A flag (-utf8 ?) to the compilers should be added so that errors >> locations are correct in presence of UTF-8 strings [the programmer >> restricting himself to ASCII identifiers]. > > Alain mentioned that the patch would only be a few lines long. > >> - ocamldoc: while an UTF-8 aware doc-generator is very easy to write, >> it would be nice to be able to parametrize any of them with the >> correct charset (using again the -utf8 flag ?) > > http://caml.inria.fr/mantis/bug_view_page.php?bug_id=5066 > >> - UTF8.Char and UTF8.String modules should be written with the same >> interface as Char and String. [Camomile should be adapted >> consequently.] > > Is it a good idea to replicate the poor interface that the module Char > and String represent to manipulate strings ? > >> - Graphics: UTF-8 text printing > > Are there really a lot of people using the Graphics module ? > >> - Str: (character ranges) > > This would be the only interesting thing to me. > > Daniel > > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa-roc.inria.fr/wws/info/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >