SQLite Forum

CLI on Windows: file name encoding problem
Login
Hi,

I'm having problems with passing non-ASCII file name arguments to sqlite3.exe under Windows 10 1909:
`sqlite3.exe รค.sqlite` opens or creates the file `<invalid char>.sqlite`.

This still happens when I change the codepage in cmd (with chcp) from the initial 850 (US) to 1252 (Western European) or 65001 (UTF-8).
However, it doesn't happen if I activate the "UTF-8 for non-unicode programs" beta in settings.

It used to work some months ago in a MSBuild Task (which uses cmd) with SQLite 3.31.1. 
That might have been still under Windows 1903.
Now this problem exists with both 3.31 and 3.33.0 and under cmd and Powershell.

Thanks in advance!