https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28604
Bug ID: 28604
Summary: bad encoding when using marc-in-json
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: REST API
Assignee: [email protected]
Reporter: [email protected]
There are some UTF-8 encoding problems when using marc-in-json that have
diacritics in them, I encountered this when using the '/api/v1/public/biblios/'
API route.
To recreate:
-Add some diacritics to a MARC field, I am using the 538$a and added the note
'Tést nöte'.
-Look at the what the API returns, I used this:
curl --location --request GET 'http://localhost:8080/api/v1/public/biblios/144'
\
--header 'Accept: application/marc-in-json'
The 538$a note comes out looking like this:
Tést nöte
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/