English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Correct way of programming a CGI script
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-10-11 (21:19)
From: Alain Frisch <alain@f...>
Subject: Re: [Caml-list] Re: Rope is the new string
skaller wrote:
> In that case, you can use an int Array.t for Unicode provided 
> it is only 31 bit OR you have a 64 bit machine. These routines 
> should help converting to and from UTF-8:

Unicode code points will always fit in 31 bits and 23 bits are actually 
enough for now (the largest valid assigned value is 0x10ffff).

-- Alain