Koha-clms/misc
Galen Charlton 60a98d258a IMPORTANT - refactor MARC character set handling
* 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>
2008-02-03 07:23:56 -06:00
..
bin fixed invocation of zebraqueue_daemon.pl 2007-12-22 20:09:34 -06:00
cronjobs misc/cronjobs/update_items.pl: fixed syntax errors 2008-01-03 20:22:08 -06:00
installer_devel_notes/data/en/marcflavour replacing SHELF_LOC by LOC, as decided with kados on the chat 2007-12-26 14:33:02 -06:00
migration_tools IMPORTANT - refactor MARC character set handling 2008-02-03 07:23:56 -06:00
release_notes adding download link 2008-01-05 02:59:57 -06:00
spellcheck_suggest installer: command-line scripts improve finding C4 modules 2007-12-17 09:13:54 -06:00
translator french translation updated 2008-02-03 07:22:36 -06:00
batchCompareMARCvsFrameworks.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
batchDeleteUnusedSubfields.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
batchImportMARCWithBiblionumbers.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
batchRebuildBiblioTables.pl fixed variable masking warnings found by perl -w 2008-01-03 20:23:59 -06:00
batchRepairMissingBiblionumbers.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
batchupdateISBNs.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
benchmark.pl fixed variable masking warnings found by perl -w 2008-01-03 20:23:59 -06:00
check_sysprefs.pl moving some files and deleting cataloguing/updateitem.pl, the _real_ updateitem.pl is in catalogue/ 2007-12-30 12:09:52 -06:00
commit_biblios_file.pl speed boost: command-line stage and commit biblios 2008-01-03 16:26:24 -06:00
exportauth.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
kohalib.pl installer: command-line scripts improve finding C4 modules 2007-12-17 09:13:54 -06:00
perlmodule_ls.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
perlmodule_rm.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
sax_parser_print.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
sax_parser_test.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
stage_biblios_file.pl speed boost: command-line stage and commit biblios 2008-01-03 16:26:24 -06:00
testKoha.pl C4 and misc: permissions fixes 2007-12-13 19:00:34 -06:00