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 Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
AuthoritiesMarc.t test suite cleanup 2008-01-08 14:08:02 -06:00
Barcodes_PrinterConfig.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Biblio.t test suite cleanup 2008-01-08 14:08:02 -06:00
Bookfund.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Bookseller.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Boolean.t test suite cleanup 2008-01-08 14:08:02 -06:00
Branch.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Breeding.t test suite cleanup 2008-01-08 14:08:02 -06:00
Calendar.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
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 Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Input.t Input.t permissions fix 2007-11-16 13:24:37 -06:00
Items.t test suite cleanup 2008-01-08 14:08:02 -06:00
Koha.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Labels.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Languages.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
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 Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
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 C4::Output tests -- removed inccorect tests 2008-01-08 14:07:23 -06:00
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 Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
Reserves.t test suite cleanup 2008-01-08 14:08:02 -06:00
Review.t Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
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 Total Test Overhaul! Most of these were stubs, and still are. 2007-10-18 16:26:44 -05:00
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