[sqlite] sqlite_exec() encoding?

2009-09-27 Thread aj
what encoding does sqlite_exec() callback function receive data in ? some tests i've done seem to suggest UTF-8 other tests show chars U+80 to U+FF are returned as single chars with values 128-255. (suggesting its not UTF-8) where is *any* documentation about this? -- Not sent from an iPhon

Re: [sqlite] sqlite_exec() encoding?

2009-09-27 Thread Simon Slavin
On 26 Sep 2009, at 2:04pm, aj wrote: > what encoding does sqlite_exec() callback function receive data in ? > > some tests i've done seem to suggest UTF-8 > > other tests show chars U+80 to U+FF are returned as single chars with > values 128-255. (suggesting its not UTF-8) That would be some kin

Re: [sqlite] sqlite_exec() encoding?

2009-09-27 Thread Igor Tandetnik
aj wrote: > what encoding does sqlite_exec() callback function receive data in ? > > some tests i've done seem to suggest UTF-8 > > other tests show chars U+80 to U+FF are returned as single chars with > values 128-255. (suggesting its not UTF-8) This means that these strings were inserted this wa

Re: [sqlite] sqlite_exec() encoding?

2009-09-27 Thread Jay A. Kreibich
On Sat, Sep 26, 2009 at 11:04:17PM +1000, aj scratched on the wall: > > what encoding does sqlite_exec() callback function receive data in ? > > some tests i've done seem to suggest UTF-8 > > other tests show chars U+80 to U+FF are returned as single chars with > values 128-255. (suggesting its