[ocaml-i18n] Native UTF-8 strings

Yamagata Yoriyuki yoriyuki at mbg.ocn.ne.jp
Thu Nov 27 05:54:28 PST 2003


From: Richard Jones <rich at annexia.org>
Subject: Re: [ocaml-i18n] Native UTF-8 strings
Date: Wed, 26 Nov 2003 09:52:46 +0000

> I think the real problem is that you have no way to know what encoding
> your streams are using!

The default encoding is informed by LC_CTYPE locale in POSIX systems.
(Actually, in ISO C) I don't know the situation of Windows and OS X,
but I suppose similar methods exist.

For the locale mechanism, see Kubota's introduction 
http://www.de.debian.org/doc/manuals/intro-i18n/ch-locale.en.html
(The whole document is a very good introduction of i18n.)

--
Yamagata Yoriyuki



More information about the Ocaml-i18n mailing list