From: Dario Teixeira <darioteixeira@yahoo.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] GSoC: better UTF-8 support
Date: Mon, 28 Feb 2011 06:57:53 -0800 (PST) [thread overview]
Message-ID: <823650.69992.qm@web111503.mail.gq1.yahoo.com> (raw)
In-Reply-To: <AANLkTinchxD5oZk9_Su7_JKvHeUmg3oUSM-L98XtgaEv@mail.gmail.com>
Hi,
> Frankly I see no benefit of introducing this half-baked UTF-8 support
> into the standard library (which is what this proposal is about).
I tend to agree with Daniel. In my mind I already rename the stdlib
types char/string into byte/blob. For many common operations (like
concatenation) it is perfectly safe to use these stdlib blob-oriented
functions with UTF8 encoded strings. For others -- like accessing
char at position N -- the blob-oriented functions will fail. However,
if your app needs UTF8-aware functions, it is very likely that sooner
or later you will also need support for some of the more complex
aspects of Unicode, at which point a half-arsed implementation will
not suffice and you will need to link an external library anyway.
Therefore, either the stdlib should remain strictly blob-oriented
(which is fine by me), or it should get serious about Unicode support.
Cheers,
Dario Teixeira
next prev parent reply other threads:[~2011-02-28 14:58 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-28 8:35 Christophe TROESTLER
2011-02-28 8:58 ` Daniel Bünzli
2011-02-28 10:07 ` David Allsopp
2011-02-28 11:21 ` Daniel Bünzli
2011-02-28 11:46 ` David Allsopp
2011-02-28 12:32 ` Daniel Bünzli
2011-02-28 12:59 ` [Caml-list] " Sylvain Le Gall
2011-02-28 10:59 ` Sylvain Le Gall
2011-02-28 14:39 ` [Caml-list] " David Rajchenbach-Teller
2011-02-28 10:07 ` David Allsopp
[not found] ` <20110228.143157.1265982603697554449.Christophe.Troestler+ocaml@umons.ac.be>
2011-02-28 14:11 ` Daniel Bünzli
2011-02-28 14:57 ` Dario Teixeira [this message]
2011-02-28 14:13 ` Gerd Stolpmann
2011-02-28 14:31 ` [Caml-list] " Sylvain Le Gall
2011-02-28 15:09 ` [Caml-list] " Dario Teixeira
2011-02-28 15:50 ` David Allsopp
2011-03-01 5:49 ` [Caml-list] " Yoriyuki Yamagata
2011-02-28 14:21 ` [Caml-list] " Michael Ekstrand
2011-03-03 15:37 ` Damien Doligez
2011-03-03 16:42 ` Dario Teixeira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=823650.69992.qm@web111503.mail.gq1.yahoo.com \
--to=darioteixeira@yahoo.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox