Bug 37184: Special character encoding problem when importing MARC file from the Acquisitions module
1. Go to Cataloging > "Stage records for import".
2. Upload the file "ExportMemento2024061010532869Marc8.mrc" or a MARC8 encoded file.
3. In the form, select the options :
- Record type: Bibliographic
- Character encoding: MARC8
- Format: MARC
4. Click "Stage for import".
5. Find or create an open basket in the Acquisitions module.
6. Click "add to basket".
7. Select "From a staged file" and select the previous staged file.
9. Click "Select all" to check all records.
10. In the item information tab, choose the Document type.
11. Verify the titles of the records in the basket:
--> Koha replaces accents with symbols �
12. Apply the patch.
13. Do the same from step 1 and notice there is no more encoding issues.
Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit e8c8b68672)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
2c36839323
commit
23adbf215d
|
|
@ -56,7 +56,7 @@ sub get_marc_record {
|
|||
$format = 'UNIMARCAUTH';
|
||||
}
|
||||
|
||||
my $record = MARC::Record->new_from_xml($self->marcxml, $self->encoding, $format);
|
||||
my $record = MARC::Record->new_from_xml( $self->marcxml, 'UTF-8', $format );
|
||||
|
||||
return $record;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue