On 12/12/2017 12:42 AM, dave wrote:
Folks;  I recently had some trouble using the readfile() extension until I
noticed it was due to there being filenames with Unicode in them, and that
the existing implementation using fopen() doesn't do UTF8 on Windows (I
think it uses the ambient code page).
I modified the extension code to support UTF8 filenames on Windows, and it
works fine (at least in my test cases!).  Thinking that someone might fine
it useful, I am attaching the modified code.  Use it if and however you
like.  Also note there is an embedded copy of fileio.c in shell.c that also
needs the mod, for the sqlite shell.c builds.


shell.c is a generated file, so the build process will pull in changes to ext/misc/fileio.c.

The mailing list has discarded your attachment though. Can you post the patch inline or upload it somewhere and post a link?

Thanks,
Dan.



Attached herewith. Cheers! -dave
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


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

Reply via email to