caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dmitry Bely <dmitry.bely@gmail.com>
To: Paul Steckler <Paul.Steckler@nicta.com.au>
Cc: "caml-list@yquem.inria.fr" <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] 8-bit characters on command line
Date: Fri, 14 May 2010 12:13:44 +0400	[thread overview]
Message-ID: <AANLkTikAytu0PPa3_7MEU36cuTVnaQgAkm89emktTePe@mail.gmail.com> (raw)
In-Reply-To: <2EB36A07AAE8C44BBB1986425E7A22D00FA659E37A@atp-mbx1.in.nicta.com.au>

On Fri, May 14, 2010 at 10:20 AM, Paul Steckler
<Paul.Steckler@nicta.com.au> wrote:

>  2) if I write the equivalent C program and compile it on Windows, 8-bit
> characters are passed as arguments and spat back just fine

Just tested with MSVC 9.0 - exactly the same problem. Try this

#include <stdio.h>
int main(int argc, char** argv)
{
  for (int i=0; i < argc; ++i) {
    puts(argv[i]);
  }
  return 0;
}

and you'll see.

- Dmitry Bely


  reply	other threads:[~2010-05-14  8:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-14  4:36 Paul Steckler
2010-05-14  5:44 ` [Caml-list] " Dmitry Bely
2010-05-14  6:20   ` Paul Steckler
2010-05-14  8:13     ` Dmitry Bely [this message]
2010-05-17  2:55       ` Paul Steckler

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=AANLkTikAytu0PPa3_7MEU36cuTVnaQgAkm89emktTePe@mail.gmail.com \
    --to=dmitry.bely@gmail.com \
    --cc=Paul.Steckler@nicta.com.au \
    --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).