Re: [sqlite] readfile/writefile extensioln, and UTF8 on Windows....

2017-12-11 Thread dave
nt64)dwWritten; > } > } > CloseHandle( hfile ); > sqlite3_result_int64( context, rc ); > #else 80a168 > #endif //fileio.patch end=============== > -Original Message- > From: sqlite-users > [mailto:sqlite-users-boun...@mailinglists.sqlit

Re: [sqlite] readfile/writefile extensioln, and UTF8 on Windows....

2017-12-11 Thread Dan Kennedy
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).

Re: [sqlite] readfile/writefile extensioln, and UTF8 on Windows....

2017-12-11 Thread dave
Welp; I guess attachements get stripped off. And maybe I should have sent this to the 'dev' list anyway, so I'll try there. > -Original Message- ... > To: 'SQLite mailing list' > Subject: [sqlite] readfile/writefile extensioln, and UTF8 on > Windows

[sqlite] readfile/writefile extensioln, and UTF8 on Windows....

2017-12-11 Thread dave
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 supp