Caleb Cushing wrote: > can libpqxx not handle std::wstring? what's the best way to preserve encoding? I haven't tried this yet myself, though Kirit may have some experience using UTF-16. For now libpqxx is mostly encoding-unaware, passing strings to the underlying libpq. So the way to do this should be to provide C-style const char pointers. Jeroen