Browse thread
Windows filenames and Unicode
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | ygrek <ygrekheretix@g...> |
| Subject: | Re: [Caml-list] Windows filenames and Unicode |
On Wed, 29 Sep 2010 17:26:52 +1000 Paul Steckler <steck@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