bardzotajneko...@interia.pl wrote: > Select below crashes sqlite: > > C:\>chcp 65001 > Aktywna strona kodowa: 65001
Nice try. > C:\>sqlite3.exe db > sqlite> SELECT `czy firma upadła` FROM `tabela_analityczna`; In Windows, UTF-8 I/O on the console does not work. It would be possible to enable UTF-8 *output* by calling _setmode (<http://msdn.microsoft.com/en-us/library/tw4k6df8.aspx>), but it is not possible to enable UTF-8 for stdin because somebody forgot to implement it: <http://blogs.msdn.com/b/michkap/archive/2010/09/23/10066660.aspx> The only way to get UTF-8 from the console would be to replace the standard functions like read/fgets with ReadConsoleW, but this works only if the input is not redirected. Regards, Clemens _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users