mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-27 19:34:32 +02:00
--encoding option for non-utf8 CSV/TSV, closes #182
This commit is contained in:
parent
7c0ef116ed
commit
2c541fac35
3 changed files with 137 additions and 36 deletions
|
|
@ -354,6 +354,10 @@ For tab-delimited data, use ``--tsv``::
|
|||
|
||||
$ sqlite-utils insert dogs.db dogs docs.tsv --tsv
|
||||
|
||||
Data is expected to be encoded as Unicode UTF-8. If your data is an another character encoding you can specify it using the ``--encoding`` option::
|
||||
|
||||
$ sqlite-utils insert dogs.db dogs docs.tsv --tsv --encoding=latin-1
|
||||
|
||||
.. _cli_insert_replace:
|
||||
|
||||
Insert-replacing data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue