A
Anarki
I would like to print a string in unicode. I compiled using gcc 3.4.4
in Cygwin(windows Xp). I used the following code. Gcc compiles it and
links but not giving the expected output, g++ don't even compile it,
it says wprintf is undeclared. I would also like to know why gcc
compiles it and g++ dosen't. someone please help me print a unicode
string using gcc or g++ in cygwin(windows xp)
#include <wchar.h>
int main()
{
wchar_t mal[] = L"ദീപàµâ€Œà´šà´¨àµà´¦àµâ€Œ പി";
wprintf(mal);
return 0;
}
in Cygwin(windows Xp). I used the following code. Gcc compiles it and
links but not giving the expected output, g++ don't even compile it,
it says wprintf is undeclared. I would also like to know why gcc
compiles it and g++ dosen't. someone please help me print a unicode
string using gcc or g++ in cygwin(windows xp)
#include <wchar.h>
int main()
{
wchar_t mal[] = L"ദീപàµâ€Œà´šà´¨àµà´¦àµâ€Œ പി";
wprintf(mal);
return 0;
}