Sorry. I forget that many people still like to use cmd.exe . If you run<code> type top_dog.sql |sqlite3 </code>in Powershell, (or [Yori](http://www.malsmith.net/yori/), [TCC](https://jpsoft.com/products/tcc-cmd-prompt.html), or likely any other shell written in the modern era when UTF-8 and BOMs came into common use), you will have better luck.