D. Richard Hipp wrote:

On Sun, 2005-02-13 at 16:18 -0600, Jeff Thompson wrote:


sqlite3_exec
sqlite3_mprintf

I was wondering why there are no unicode versions of these (and possibly others) functions?




sqlite3_exec is implemented in using other published APIs. It is a convenience wrapper provided for historical compatibility. If you want a UTF-16 version, make a copy of the UTF-8 version and adjust as necessary.



Understood... I did implement my own "exec" function in my application and it works fine. I was just wondering why no sqlite3_exec16 function, but as you pointed out, it's no big deal to handle on the app side.

I don't know how to make sqlite3_mprintf() UTF-16 aware.


Looking at printf.c, I'd tend to agree...

Thanks for the info.

--
jthomps

Reply via email to