SQLite Forum

[BUG] Precompiled sqlite shell for windows can't open filenames with unicode chars
Login
> But I'm using a old version of windows, which doesn't have well support of 'chcp 65001', 

We can't solve that for you. Codepage 65001 was already available in Windows XP. [This article][1] may help you.

> and I'd like drag database to the icon of sqlite.exe. It would be appreciated if precompiled sqlite shell have native unicode support.

As far as I know, the precompiled shell has native unicode support, but it depends on the Windows "terminal".

Try this: Make a new shortcut (icon) which does not point to sqlite3.exe, but to a .cmd file that you write yourself, which sets up the environment for sqlite. Something like:

```sh
@echo off
chcp 65001
disk:\path\to\sqlite3.exe "%1"
```
(untested)

[1]:https://www.sqlsnippets.com/en/topic-13410.html