UNICODE output to frontend

Поиск
Список
Период
Сортировка
Искать

UNICODE output to frontend

От:
"Alex 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.

FAQ