Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Windows filenames and Unicode
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-09-30 (19:27)
From: ygrek <ygrekheretix@g...>
Subject: Re: [Caml-list] Windows filenames and Unicode
On Wed, 29 Sep 2010 17:26:52 +1000
Paul Steckler <> wrote:

> For Windows, I could use the same invariant, and modify the OCaml
> runtime so that all calls to
> Windows file primitives have those strings translated to UTF-16 (and
> return values translated back
> to UTF-8).  That is, I'd have to build a custom version of OCaml and
> wrap CreateFile, etc. with
> such Unicode translation functions.

Have a look at
(and for ocaml/msvc).