60a98d258a
* IsStringUTF8ish - determine if scalar contains a string in UTF8 * MarcToUTF8Record - convert MARC blob or MARC::Record to UTF8 * SetMarcUnicodeFlag - set appropriate MARC21 or UNIMARC field to indicate that record is in UTF-8. Design points of this module include: * No dependencies on other C4 modules, making it easier to add more test cases * All character conversion code in one place * Single entry point for doing a character conversion on a MARC record * Capture of errors and warnings produced by Text::Iconv and MARC::Charset * Start of support for guessing the source character set of a MARC record. Several functions were moved from other scripts or modules to C4::Charset: * C4::Koha->FixEncoding (expanded and renamed MarcToUTF8Record) * C4::Koha->char_decode5426 * fMARC8ToUTF8 from bulkmarcimport.pl (renamed _marc_marc8_to_utf8) Several batch jobs were adjusted to use MarcToUTF8Record instead of FixEncoding. Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com> |
||
---|---|---|
.. | ||
db_dependent | ||
Accounts.t | ||
Amazon.t | ||
AuthoritiesMarc.t | ||
Barcodes_PrinterConfig.t | ||
Biblio.t | ||
Bookfund.t | ||
Bookseller.t | ||
Boolean.t | ||
Branch.t | ||
Breeding.t | ||
Calendar.t | ||
Charset.t | ||
Circulation.t | ||
Date.t | ||
Dates.t | ||
Debug.t | ||
dummy.t | ||
Input.t | ||
Items.t | ||
Koha.t | ||
Labels.t | ||
Languages.t | ||
Letters.t | ||
Log.t | ||
Maintainance.t | ||
Members.t | ||
NewsChannels.t | ||
Output.t | ||
Overdues.t | ||
override_context_prefs.pm | ||
Print.t | ||
Record.t | ||
Reserves.t | ||
Review.t | ||
Search.t | ||
Serials.t | ||
Stats.t | ||
Suggestions.t | ||
Z3950.t |