This is the mail archive of the
cygwin
mailing list for the Cygwin project.
[1.7] wprintf is broken?
- From: IWAMURO Motonori <deenheart at gmail dot com>
- To: cygwin at cygwin dot com, newlib at sourceware dot org
- Date: Sat, 16 May 2009 23:56:47 +0900
- Subject: [1.7] wprintf is broken?
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/