Sorry, my report is not correct.
Because we must mix neither wide-character I/O nor multibyte-character
I/O in the specification.
(see the manual of fwide() function)
2009/5/17 Corinna Vinschen corinna-cyg...@cygwin.com:
On May 16 23:56, IWAMURO Motonori wrote:
Hi.
wprintf is broken?
I
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, LTest\n);
printf(Test\n);
return 0;
}
Result text:
http://vmi.jp/tmp/wprintf-is-broken.txt
--
IWAMURO
On May 16 23:56, IWAMURO Motonori wrote:
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, LTest\n);
printf(Test\n);
return 0;
}
Result text:
3 matches
Mail list logo