[librecat-dev] character encoding wrong when exporting to MARC-in-JSON

Patrick Hochstenbach Patrick.Hochstenbach at UGent.be
Wed Nov 23 20:01:19 CET 2022


Hi Uldis

This is a ticket for [Catmandu::MARC](https://github.com/LibreCat/Catmandu-MARC) . I create a fix in that project and pushed a new version 1.29 of Catmandu::MARC to cpan.

Can you install the 1.29 version of Catmandu::MARC and try again. Use the ticket system of that project for further feedback.

Best
Patrick
________________________________
From: librecat-dev-bounces at lists.uni-bielefeld.de <librecat-dev-bounces at lists.uni-bielefeld.de> on behalf of Uldis Bojars <captsolo at gmail.com>
Sent: 23 November 2022 19:05
To: librecat-dev at lists.uni-bielefeld.de <librecat-dev at lists.uni-bielefeld.de>
Subject: [librecat-dev] character encoding wrong when exporting to MARC-in-JSON

Hi,

It looks like the character encoding is wrong when converting MARC-XML to MARC-in-JSON (e.g. Latvian special characters get distorted during export).

MARC-XML is encoded in UTF-8 and MARC-in-JSON should also be UTF-8 by default so this should not be an issue.

I've described the details of this issue at https://github.com/LibreCat/Catmandu/issues/395<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FLibreCat%2FCatmandu%2Fissues%2F395&data=05%7C01%7CPatrick.Hochstenbach%40ugent.be%7C9c3d1d1118eb4bbe01a008dacd7d9040%7Cd7811cdeecef496c8f91a1786241b99c%7C1%7C0%7C638048237330095134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FAJVEWbwqjGZQNyNCnUjyOIhxA209WKV%2FRYsvggp0Vw%3D&reserved=0>

Thanks in advance for your help.

Best regards,
Uldis



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20221123/e99f73fa/attachment.html>


More information about the librecat-dev mailing list