On Wed, Mar 13, 2013 at 4:01 PM, Ercan Özdemir <eozdemi...@gmail.com> wrote:

> However, does every developer have to write or change his code like this?
>

Indeed, it's whoever wrote that SQLite3.Open() .NET wrapper on top of the
C-API that's responsible from doing proper conversion from that .NET string
to a UTF-8 (or UTF-16) encoded native C string (i.e. const char[] in
UTF-8's case), and not the .NET clients of that API. --DD

PS: And hopefully there's a better .NET way to do that conversion that the
one you showed...
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to