[1.7] wprintf is broken?

IWAMURO Motonori deenheart@gmail.com
Wed May 20 16:52: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/>



More information about the Newlib mailing list