UNICODE output to frontend

Started by Alex Bolenokover 25 years ago1 messagesgeneral
Jump to latest
#1Alex Bolenok
abolen@pisem.net

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.