On Fri, Nov 27, 2015 at 6:13 AM, Igor Korot <ikorot01 at gmail.com> wrote:
> Is there any way to have "sqlite3_errmsg" function return a wide char > string? > Or do a conversion in a portable way? > Portably, not using standard C++ AFAIK. But there are several OSS frameworks that hide platform differences. Since you're in C++, and particularly if you're already a Boost user, you may be interested in http://cppcms.com/files/nowide/html/ OTOH you want a wstring, and NoWide specifically stays on the UTF-8 side, but perhaps what you want to do with that wstring is covered by nowide. --DD