mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 12:30:00 +00:00
Switch encoding in kobo metadata to ensure utf-8 characters to show up properly (finally)
This commit is contained in:
parent
bd01e840ca
commit
eb2e816bfd
@ -355,7 +355,7 @@ def HandleMetadataRequest(book_uuid):
|
||||
return redirect_or_proxy_request()
|
||||
|
||||
metadata = get_metadata(book)
|
||||
response = make_response(json.dumps([metadata]))
|
||||
response = make_response(json.dumps([metadata], ensure_ascii=False))
|
||||
response.headers["Content-Type"] = "application/json; charset=utf-8"
|
||||
return response
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user