Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Camomile-0.5.0
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Camomile-0.5.0
On Fri, 2004-04-16 at 02:25, Yamagata Yoriyuki wrote:

> Camomile is a comprehensive Unicode library for OCaml.  Changes from
> the previous version are,
> 
> * Internationalized Pervasives, Char, String, Buffer modules

Yea! 

> * Search strings by matching collation
> * Binding to ISO C Locale.

I have a question here. The C locale concept does need
a binding, unfortunately. However it is well known
this is a seriously deficient hack, and the use
of C locales should be strongly discouraged.

C++ uses an imperfect but much better concept: locale's
are independent objects which can be passed as arguments
to locale sensitive operations.

So there is an ISO Standard for handling locale information
properly, albiet a C++ one.

In the C world a number of different strategies are used
to handle this problem. Microsoft is the most advanced,
having several different API available for i18n support.
Unix solutions also exist .. more than one :D

I an wondering what your ideas are for the way forward
for Ocaml. 

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners