Koha/t
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
..
db_dependent DB-dependent tests moved 2008-01-08 14:07:38 -06:00
Accounts.t test suite cleanup 2008-01-08 14:08:02 -06:00
Amazon.t
AuthoritiesMarc.t test suite cleanup 2008-01-08 14:08:02 -06:00
Barcodes_PrinterConfig.t
Biblio.t test suite cleanup 2008-01-08 14:08:02 -06:00
Bookfund.t
Bookseller.t
Boolean.t test suite cleanup 2008-01-08 14:08:02 -06:00
Branch.t
Breeding.t test suite cleanup 2008-01-08 14:08:02 -06:00
Calendar.t
Charset.t IMPORTANT - refactor MARC character set handling 2008-02-03 07:23:56 -06:00
Circulation.t test suite cleanup 2008-01-08 14:08:02 -06:00
Date.t test suite cleanup 2008-01-08 14:08:02 -06:00
Dates.t Dates - remove extra newlines from carps, add partial "00" date tests to Dates.t 2008-01-14 16:45:31 -06:00
Debug.t C4::Debug - Centralized debug switches module, test and proof conversion (in Dates.pm) 2008-01-23 21:27:20 -06:00
dummy.t
Input.t
Items.t test suite cleanup 2008-01-08 14:08:02 -06:00
Koha.t
Labels.t
Languages.t
Letters.t test suite cleanup 2008-01-08 14:08:02 -06:00
Log.t test suite cleanup 2008-01-08 14:08:02 -06:00
Maintainance.t
Members.t test suite cleanup 2008-01-08 14:08:02 -06:00
NewsChannels.t test suite cleanup 2008-01-08 14:08:02 -06:00
Output.t
Overdues.t test suite cleanup 2008-01-08 14:08:02 -06:00
override_context_prefs.pm test suite cleanup 2008-01-08 14:08:02 -06:00
Print.t test suite cleanup 2008-01-08 14:08:02 -06:00
Record.t
Reserves.t test suite cleanup 2008-01-08 14:08:02 -06:00
Review.t
Search.t test suite cleanup 2008-01-08 14:08:02 -06:00
Serials.t test suite cleanup 2008-01-08 14:08:02 -06:00
Stats.t
Suggestions.t test suite cleanup 2008-01-08 14:08:02 -06:00
Z3950.t test suite cleanup 2008-01-08 14:08:02 -06:00