> I have done some more checking and I might have been wrong about the > Ubuntu and Linux in general. It looks like the formatting strings are > incompatible between MSVC and *NIX. It appears that either %S (SUSv2) > or %ls (C99) is needed on *NIX. MSVC switches the meaning of %s for > wprintf() (http://linux.die.net/man/3/printf).
Changing %s in your test program to %ls works for me on Ubuntu. Have you tried %ls in MSVC? That should work as well, according to http://msdn.microsoft.com/de-de/library/tcxf1dw6%28v=vs.80%29.aspx Otto -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple