SQLite Forum

Novice question about running UTF-8 on CLI from file.
Login
I'm using version 3.34.0 at the CLI and have a Windows Notepad file that has UTF-8 characters that I want to run using `.read filename.sql`.

When I try it, it fails and states "Error near ?select" which is the very first word in the file.

If I type "Pragma encoding;", it returns UTF-8.

Would you please tell me if this should work and, if so, what needs to be done?

Thank you.