caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: ygrek <ygrekheretix@gmail.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Windows filenames and Unicode
Date: Thu, 30 Sep 2010 22:27:36 +0300	[thread overview]
Message-ID: <20100930222736.3ddbb7bd.ygrekheretix@gmail.com> (raw)
In-Reply-To: <AANLkTimXMWGQ=_7vCbLo7yP_14pU4Ld8jqBA0iq9-69T@mail.gmail.com>

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


      parent reply	other threads:[~2010-09-30 19:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-29  5:05 Paul Steckler
2010-09-29  6:23 ` [Caml-list] " David Allsopp
2010-09-29  7:26   ` Paul Steckler
2010-09-29  7:56     ` Michael Ekstrand
2010-09-29  7:58     ` David Allsopp
2010-09-29  8:14     ` Jerome Vouillon
2010-09-30 19:27     ` ygrek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100930222736.3ddbb7bd.ygrekheretix@gmail.com \
    --to=ygrekheretix@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).