Allow encoding of imported records to be given

Description

Currently it's charset=marc-8 (which auto-detects utf-8 as well on MARC21 records).

But there could be a configuration option for that.

https://github.com/folio-org/mod-copycat/blob/3f5473c8a695b21c10786977c38ed98714547355/src/main/java/org/folio/copycat/RecordRetriever.java#L115

For example, if the record to be imported is Latin-1/ISO-8859-1, one would have to end up with charset=iso-8859-1.

The target option is called marcencoding

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Adam Dickmeiss January 27, 2022 at 1:26 PM

This is a small effort that requires NO changes to the settings UI as the target options are schemaless!

I suggest the new setting be called marcencoding or something.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Mjolnir

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 24, 2022 at 8:06 AM
Updated November 30, 2023 at 4:41 PM
Resolved January 27, 2022 at 3:43 PM
TestRail: Cases
TestRail: Runs

Flag notifications