[1.7] wprintf is broken?

IWAMURO Motonori deenheart@gmail.com
Sat May 16 14:56:00 GMT 2009


Hi.

wprintf is broken?

I compile & run the following source:

#include <stdio.h>
#include <locale.h>
#include <wchar.h>
int main(void) {
  setlocale(LC_ALL, "en_US.UTF-8");
  wprintf(L"%ls\n", L"Test\n");
  printf("Test\n");
  return 0;
}

Result text:
http://vmi.jp/tmp/wprintf-is-broken.txt
-- 
IWAMURO Motnori <http://vmi.jp/>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list