Closed ge0rg closed 3 years ago
Try to run litecli with Python 3. i.e. on Linux:
python3 $(which litecli)
If you installed via pip, install via pip3:
pip3 install litecli
@ge0rg Can you paste the output you see from running that command using the sqlite default shell?
I believe this is now fixed in the latest release 1.6.0.
You can upgrade using pip install -U litecli
.
Feel free to reopen the issue if this still persists.
When doing a
SELECT somerow FROM table;
, with somerow containing data that's not valid ASCII, there is no output of data at all from litecli 1.0.0, but only the cryptic python error message:I haven't found any options to change the expected file / output encoding, besides of
PRAGMA encoding
which is set to UTF-8.Ideally, litecli should output whatever it can, with invalid characters replaced by replacement character �.