mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed bug returning non-ascii characters in CSV, closes #584
This commit is contained in:
parent
e5308c1ec2
commit
a9f877f7bf
2 changed files with 10 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ class AsgiWriter:
|
|||
await self.send(
|
||||
{
|
||||
"type": "http.response.body",
|
||||
"body": chunk.encode("latin-1"),
|
||||
"body": chunk.encode("utf-8"),
|
||||
"more_body": True,
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue