> From: Dmitry Bely [dmitry.b...@gmail.com]
> Just tested with MSVC 9.0 - exactly the same problem.
Yes, MSVC 10.0 has the same issue -- though gcc 4.3 installed via Cygwin
does not.
-- Paul
The information in this e-mail may be confidential and subject to legal
professional privilege and/or co
On Fri, May 14, 2010 at 10:20 AM, Paul Steckler
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
int main(int argc, char** argv)
> From: Dmitry Bely [dmitry.b...@gmail.com]
> I believe that's because there are actually two current code pages in
> Windows: "OEM" code page for console input/output and "ANSI" one for
> everything else.
I'm not sure that's the issue, because
1) 8-bit characters are read and written OK to the
On Fri, May 14, 2010 at 8:36 AM, Paul Steckler
wrote:
> I have an OCaml 3.11 program that prints out the arguments on the command
> line:
>
> let main =Array.iter (Printf.printf "arg = %s\n") Sys.argv
>
> On Linux, if I provide a command line argument containing 8-bit characters,
> like é (an e