Thread: UNICODE output to frontend

UNICODE output to frontend

From
"Alex Bolenok"
Date:
Is there any way to compile libpq for Win32 for it to produce output in
UNICODE?

What I want is something like that:

wchar_t* utfbuffer;
...
utfbuffer = PQgetvalue(res, i, j);
wprintf("%s", utfbuffer);
...

and the program produces normal output, not the mess of Chinese/Thai/etc
symbols.

Alex Bolenok.