mirror of
https://github.com/janeczku/calibre-web
synced 2025-08-30 09:27:57 +00:00
Switch encoding in kobo metadata to ensure utf-8 characters to show up properly (finally)
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user