Camomile: CAml Modules for MultI-Lingual

The project is moved to GitHub The contents of this page are out-of-dated.

Camomile is a Unicode library for objective caml (a. k. a. OCaml or O'Caml) language. Camomile provides Unicode character type, UTF-8, UTF-16, UTF-32 strings, conversion to/from about 200 encodings, collation and locale-sensitive case mappings, and more. The library is currently designed for Unicode Standard 3.2.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version, with the exception similar to OCaml standard library (see README for details).


2011/05/24 Camomile 0.8.3 is released. This is a bug-fix release which fixes a bug concerning casefolding and compare_caseless.

2011/04/12 Camomile 0.8.2 is released. This is a minor update including

  1. File names of data files which is produced and used by camomile are now properly escaped, to avoid security risk and more liberal use of aliases which contain "." or "/" etc,
  2. Charmap tables are updated to the recent ones of glibc.


Recent release: camomile-0.8.3

Subversion repository


  2. The ocamldoc generated manual


Bug report.

Feature request.

Mailing list


The library is designed for Unicode Standard version 3.2. Normalisers (NFD, NFKD, NFC, NFKC) and collator (string comparison) pass the conformance tests defined Unicode Technical Reports. (see the relevant part of camomile-test.) The collator is also tested to Canadian, Thai and Japanese standards with their locales. There is no problem except handling ΓΈ in Canadian standard.

Known problems

See bug tracker


  1. Data structures used in camomile.


Peter Jolly provided CP932 conversion table. Kawakami Shigenobu contributed findlib support. Pierre Chambart contributed StringPrep module. Sylvain Le Gall provided dynamic configuration module.

Many people provided bug fixes.

This page is hosted in Sourceforge. You can see ur project information here. If you have a comment on this page, contact to the author.

SourceForge Logo
Last modified: May. 24, 2011