On 12/17/2016 8:38 PM, Ariel M. Martin wrote:
Note: szSQL is the wchar-string my app uses

        char szAux[2048];
        ZeroMemory(szAux, 2048);
        WideCharToMultiByte(CP_ACP, WC_COMPOSITECHECK, szSQL, wcslen(szSQL), 
szAux, 2048, NULL, 0);

Replace CP_ACP with CP_UTF8.
--
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to