Reputation: 478
I would like to know if somebody knows a way to customize the csv output in htsql, and especially the delimiter and the encoding ?
I would like to avoid iterating over each result and find a way through configuration and/or extensions.
Thank in advance.
Anthony
Upvotes: 1
Views: 176
Reputation: 256
If you want TAB as a delimiter, use tsv format (e.g. /query/:tsv instead of /query/:csv).
There is no way to specify the encoding other than UTF-8. You can reencode the output manually on the client.
Upvotes: 3