(I just noticed that much of the sqlite-users mailing list traffic has
been going into my spam folder for the past few days.  I am trying to
clear the backlog now...)

On 6/5/18, Christopher Head <ch...@chead.ca> wrote:
>
> My question is this: In those two mailing list posts, it was explained
> that SQLite’s current behaviour is to pass the string unmodified to the
> open() syscall. Is this just an explanation of current behaviour, or is
> it an official policy?

SQLite APIs expect UTF8 filenames.  This is true across all platforms.
Conversions to other encodings are made automatically where required.
But on posix, filenames are expected to be UTF8, and so on posix, no
translation is required.  (The situation is very different on
Windows.)

So the rules:

(1) Filenames passed into SQLite should be UTF8

(2) Filenames passed into unix system calls (ex: open()) should be UTF8

What Qt or other libraries expect seems to be irrelevant.

Beyond that, I don't really understand what problem you are having???
-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to