Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Yoriyuki Yamagata edited this page · 8 revisions
Clone this wiki locally

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).


2012/01/08 Camomile 0.8.4 is released. This is a bug fix release, which fixes bugs on regular expressions and USet/UMap.

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


Recent release: Camomile 0.8.4

Git repository




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 Issue tracker



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.

If you have a comment on this page, contact to

Something went wrong with that request. Please try again.