On Wed, 29 Sep 2010 17:26:52 +1000
Paul Steckler <st...@stecksoft.com> 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 http://savannah.nongnu.org/patch/?4515
(and http://ygrek.org.ua/p/ocaml_unicode.html for ocaml/msvc).

-- 
 ygrek
 http://ygrek.org.ua

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to