> I'm also trying to write some Chinese data to postgresql database. I'm
> gibberish after it's written to the database.
>
> I recognize the problem is at the http request. How do I retrieve double
> byte characters through http request using C/C++? And how do I write it the
> database?
Nothing special. Just read/write one by one.
> And how do I tell it what kind of encoding to use?
set client_encoding.
--
Tatsuo Ishii