Dominique Devienne wrote: > On Thu, Feb 11, 2016 at 1:10 PM, Olivier Mascia <om at integral.be> wrote: >>> Le 11 f?vr. 2016 ? 10:48, Olivier Mascia <om at integral.be> a ?crit : >>> It looks like the appropriate character set mapping behavior on Windows >> is still not quite right in the command line utility. >> >> If I'm changing shell.c (utf8_printf) to use some >> sqlite3_win32_utf8_to_oem() (which is the same as >> sqlite3_win32_utf8_to_mbcs, but always use CP_OEMCP) AND I'm changing >> shell.c (local_getline) to use some sqlite3_win32_oem_to_utf8() (which is >> the same as sqlite3_win32_mbcs_to_utf8, but always use CP_OEMCP), then my >> command-line tool sqlite3.exe works nicely with accented characters. > > On the same subject, and after reading > http://stackoverflow.com/a/33817184/103724 > I was going to try another solution, from > http://www.siao2.com/2008/03/18/8306597.aspx > based on _setmode(_fileno(stdout), _O_U8TEXT).
See also <http://www.siao2.com/2010/10/07/10072032.aspx>. Regards, Clemens