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.
 
Attached herewith.
 
Cheers!
 
-dave
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to