Bug 11944: use CGI( -utf8 ) everywhere
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 14 Mar 2014 14:26:16 +0000 (15:26 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 13 Jan 2015 16:07:21 +0000 (13:07 -0300)
Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Dobrica Pavlinusic <dpavlin@rot13.org>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

492 files changed:
C4/Auth.pm
C4/Auth_with_cas.pm
C4/Debug.pm
C4/Form/MessagingPreferences.pm
C4/ILSDI/Services.pm
C4/Input.pm
C4/InstallAuth.pm
C4/Reports.pm
C4/Reports/Guided.pm
C4/SIP/ILS/Transaction/Checkout.pm
C4/SIP/Sip/MsgType.pm
C4/SIP/t/03checkout.t
C4/SIP/t/SIPtest.pm
C4/Service.pm
C4/Suggestions.pm
C4/Templates.pm
C4/Utils/DataTables.pm
C4/VirtualShelves/Page.pm
about.pl
acqui/acqui-home.pl
acqui/addorder.pl
acqui/addorderiso2709.pl
acqui/ajax-getauthvaluedropbox.pl
acqui/aqbasketuser_search.pl
acqui/basket.pl
acqui/basketgroup.pl
acqui/basketheader.pl
acqui/booksellers.pl
acqui/check_budget_total.pl
acqui/check_duplicate_barcode_ajax.pl
acqui/check_uniqueness.pl
acqui/currency.pl
acqui/finishreceive.pl
acqui/histsearch.pl
acqui/invoice.pl
acqui/invoices.pl
acqui/lateorders-export.pl
acqui/lateorders.pl
acqui/modordernotes.pl
acqui/neworderbiblio.pl
acqui/neworderempty.pl
acqui/newordersubscription.pl
acqui/newordersuggestion.pl
acqui/ordered.pl
acqui/orderreceive.pl
acqui/parcel.pl
acqui/parcels.pl
acqui/spent.pl
acqui/supplier.pl
acqui/transferorder.pl
acqui/uncertainprice.pl
acqui/updatesupplier.pl
admin/admin-home.pl
admin/aqbudget_user_search.pl
admin/aqbudgetperiods.pl
admin/aqbudgets.pl
admin/aqcontract.pl
admin/aqplan.pl
admin/auth_subfields_structure.pl
admin/auth_tag_structure.pl
admin/authorised_values.pl
admin/authtypes.pl
admin/biblio_framework.pl
admin/branch_transfer_limits.pl
admin/branches.pl
admin/categorie.pl
admin/check_budget_parent.pl
admin/check_parent_total.pl
admin/checkmarc.pl
admin/cities.pl
admin/classsources.pl
admin/clone-rules.pl
admin/currency.pl
admin/didyoumean.pl
admin/env_tz_test.pl
admin/fieldmapping.pl
admin/import_export_framework.pl
admin/item_circulation_alerts.pl
admin/itemtypes.pl
admin/koha2marclinks.pl
admin/marc_subfields_structure.pl
admin/marctagstructure.pl
admin/matching-rules.pl
admin/oai_set_mappings.pl
admin/oai_sets.pl
admin/patron-attr-types.pl
admin/preferences.pl
admin/printers.pl
admin/smart-rules.pl
admin/stopwords.pl
admin/systempreferences.pl
admin/transport-cost-matrix.pl
admin/z3950servers.pl
authorities/auth_finder.pl
authorities/authorities-home.pl
authorities/authorities.pl
authorities/blinddetail-biblio-search.pl
authorities/detail-biblio-search.pl
authorities/detail.pl
authorities/export.pl
authorities/merge.pl
authorities/merge_ajax.pl
authorities/ysearch.pl
basket/basket.pl
basket/downloadcart.pl
basket/sendbasket.pl
catalogue/ISBDdetail.pl
catalogue/MARCdetail.pl
catalogue/detail.pl
catalogue/export.pl
catalogue/getitem-ajax.pl
catalogue/image.pl
catalogue/imageviewer.pl
catalogue/issuehistory.pl
catalogue/labeledMARCdetail.pl
catalogue/moredetail.pl
catalogue/search-history.pl
catalogue/search.pl
catalogue/showmarc.pl
catalogue/updateitem.pl
cataloguing/addbooks.pl
cataloguing/additem.pl
cataloguing/linkitem.pl
cataloguing/merge.pl
cataloguing/merge_ajax.pl
cataloguing/moveitem.pl
cataloguing/plugin_launcher.pl
cataloguing/value_builder/callnumber-KU.pl
cataloguing/value_builder/callnumber.pl
cataloguing/value_builder/labs_theses.pl
cataloguing/value_builder/macles.pl
cataloguing/value_builder/marc21_field_006.pl
cataloguing/value_builder/marc21_field_007.pl
cataloguing/value_builder/marc21_field_008.pl
cataloguing/value_builder/marc21_field_008_authorities.pl
cataloguing/value_builder/marc21_leader.pl
cataloguing/value_builder/marc21_leader_authorities.pl
cataloguing/value_builder/marc21_leader_book.pl
cataloguing/value_builder/marc21_leader_computerfile.pl
cataloguing/value_builder/marc21_leader_video.pl
cataloguing/value_builder/marc21_linking_section.pl
cataloguing/value_builder/normarc_field_007.pl
cataloguing/value_builder/normarc_field_008.pl
cataloguing/value_builder/normarc_leader.pl
cataloguing/value_builder/stocknumberAV.pl
cataloguing/value_builder/stocknumberam123.pl
cataloguing/value_builder/unimarc_field_010.pl
cataloguing/value_builder/unimarc_field_100.pl
cataloguing/value_builder/unimarc_field_100_authorities.pl
cataloguing/value_builder/unimarc_field_105.pl
cataloguing/value_builder/unimarc_field_106.pl
cataloguing/value_builder/unimarc_field_110.pl
cataloguing/value_builder/unimarc_field_115a.pl
cataloguing/value_builder/unimarc_field_115b.pl
cataloguing/value_builder/unimarc_field_116.pl
cataloguing/value_builder/unimarc_field_117.pl
cataloguing/value_builder/unimarc_field_120.pl
cataloguing/value_builder/unimarc_field_121a.pl
cataloguing/value_builder/unimarc_field_121b.pl
cataloguing/value_builder/unimarc_field_122.pl
cataloguing/value_builder/unimarc_field_123a.pl
cataloguing/value_builder/unimarc_field_123d.pl
cataloguing/value_builder/unimarc_field_123e.pl
cataloguing/value_builder/unimarc_field_123f.pl
cataloguing/value_builder/unimarc_field_123g.pl
cataloguing/value_builder/unimarc_field_123i.pl
cataloguing/value_builder/unimarc_field_123j.pl
cataloguing/value_builder/unimarc_field_124.pl
cataloguing/value_builder/unimarc_field_124a.pl
cataloguing/value_builder/unimarc_field_124b.pl
cataloguing/value_builder/unimarc_field_124c.pl
cataloguing/value_builder/unimarc_field_124d.pl
cataloguing/value_builder/unimarc_field_124e.pl
cataloguing/value_builder/unimarc_field_124f.pl
cataloguing/value_builder/unimarc_field_124g.pl
cataloguing/value_builder/unimarc_field_125.pl
cataloguing/value_builder/unimarc_field_125a.pl
cataloguing/value_builder/unimarc_field_125b.pl
cataloguing/value_builder/unimarc_field_126.pl
cataloguing/value_builder/unimarc_field_126a.pl
cataloguing/value_builder/unimarc_field_126b.pl
cataloguing/value_builder/unimarc_field_127.pl
cataloguing/value_builder/unimarc_field_128a.pl
cataloguing/value_builder/unimarc_field_128b.pl
cataloguing/value_builder/unimarc_field_128c.pl
cataloguing/value_builder/unimarc_field_130.pl
cataloguing/value_builder/unimarc_field_135a.pl
cataloguing/value_builder/unimarc_field_140.pl
cataloguing/value_builder/unimarc_field_141.pl
cataloguing/value_builder/unimarc_field_210c.pl
cataloguing/value_builder/unimarc_field_210c_bis.pl
cataloguing/value_builder/unimarc_field_225a.pl
cataloguing/value_builder/unimarc_field_4XX.pl
cataloguing/value_builder/unimarc_field_686a.pl
cataloguing/value_builder/unimarc_field_700-4.pl
cataloguing/value_builder/unimarc_leader.pl
cataloguing/ysearch.pl
cataloguing/z3950_search.pl
changelanguage.pl
circ/add_message.pl
circ/bookcount.pl
circ/branchoverdues.pl
circ/branchtransfers.pl
circ/circulation-home.pl
circ/circulation.pl
circ/del_message.pl
circ/hold-transfer-slip.pl
circ/offline-mf.pl
circ/offline.pl
circ/overdue.pl
circ/pendingreserves.pl
circ/renew.pl
circ/reserveratios.pl
circ/returns.pl
circ/selectbranchprinter.pl
circ/stats.pl
circ/transfer-slip.pl
circ/transferstoreceive.pl
circ/view_holdsqueue.pl
circ/waitingreserves.pl
circ/ypattrodue-attr-search-authvalue.pl
circ/ysearch.pl
course_reserves/add_items.pl
course_reserves/course-details.pl
course_reserves/course-reserves.pl
course_reserves/course.pl
course_reserves/mod_course.pl
docs/CAS/CASProxy/examples/koha_webservice.pl
docs/CAS/CASProxy/examples/proxy_cas.pl
docs/CAS/CASProxy/examples/proxy_cas_callback.pl
docs/CAS/CASProxy/examples/proxy_cas_data.pl
edithelp.pl
errors/400.pl
errors/401.pl
errors/402.pl
errors/403.pl
errors/404.pl
errors/500.pl
help.pl
installer/install.pl
labels/label-create-csv.pl
labels/label-create-pdf.pl
labels/label-create-xml.pl
labels/label-edit-batch.pl
labels/label-edit-layout.pl
labels/label-edit-profile.pl
labels/label-edit-template.pl
labels/label-home.pl
labels/label-item-search.pl
labels/label-manage.pl
labels/label-print.pl
labels/spinelabel-home.pl
labels/spinelabel-print.pl
mainpage.pl
members/boraccount.pl
members/deletemem.pl
members/files.pl
members/guarantor_search.pl
members/mancredit.pl
members/maninvoice.pl
members/member-flags.pl
members/member-password.pl
members/member.pl
members/memberentry.pl
members/members-home.pl
members/members-update-do.pl
members/members-update.pl
members/mod_debarment.pl
members/moremember.pl
members/notices.pl
members/patronimage.pl
members/pay.pl
members/paycollect.pl
members/printfeercpt.pl
members/printinvoice.pl
members/printslip.pl
members/purchase-suggestions.pl
members/readingrec.pl
members/routing-lists.pl
members/setstatus.pl
members/statistics.pl
members/update-child.pl
misc/cronjobs/runreport.pl
offline_circ/download.pl
offline_circ/enqueue_koc.pl
offline_circ/list.pl
offline_circ/process.pl
offline_circ/process_koc.pl
offline_circ/service.pl
opac/errors/400.pl
opac/errors/401.pl
opac/errors/402.pl
opac/errors/403.pl
opac/errors/404.pl
opac/errors/500.pl
opac/ilsdi.pl
opac/maintenance.pl
opac/oai.pl
opac/opac-ISBDdetail.pl
opac/opac-MARCdetail.pl
opac/opac-account.pl
opac/opac-addbybiblionumber.pl
opac/opac-alert-subscribe.pl
opac/opac-authorities-home.pl
opac/opac-authoritiesdetail.pl
opac/opac-basket.pl
opac/opac-blocked.pl
opac/opac-browser.pl
opac/opac-changelanguage.pl
opac/opac-course-details.pl
opac/opac-course-reserves.pl
opac/opac-detail.pl
opac/opac-downloadcart.pl
opac/opac-downloadshelf.pl
opac/opac-export.pl
opac/opac-ics.pl
opac/opac-image.pl
opac/opac-imageviewer.pl
opac/opac-main.pl
opac/opac-memberentry.pl
opac/opac-messaging.pl
opac/opac-modrequest-suspend.pl
opac/opac-modrequest.pl
opac/opac-mymessages.pl
opac/opac-overdrive-search.pl
opac/opac-passwd.pl
opac/opac-patron-image.pl
opac/opac-privacy.pl
opac/opac-ratings-ajax.pl
opac/opac-ratings.pl
opac/opac-readingrecord.pl
opac/opac-registration-verify.pl
opac/opac-renew.pl
opac/opac-reserve.pl
opac/opac-review.pl
opac/opac-search-history.pl
opac/opac-search.pl
opac/opac-sendbasket.pl
opac/opac-sendshelf.pl
opac/opac-serial-issues.pl
opac/opac-shareshelf.pl
opac/opac-shelves.pl
opac/opac-showmarc.pl
opac/opac-showreviews.pl
opac/opac-suggestions.pl
opac/opac-tags.pl
opac/opac-tags_subject.pl
opac/opac-topissues.pl
opac/opac-user.pl
opac/sco/help.pl
opac/sco/printslip.pl
opac/sco/sco-main.pl
opac/svc/login
opac/svc/overdrive_proxy
opac/svc/report
opac/svc/shelfbrowser.pl
opac/svc/suggestion
opac/tracklinks.pl
opac/unapi
patron_lists/add-modify.pl
patron_lists/delete.pl
patron_lists/list.pl
patron_lists/lists.pl
patron_lists/patrons.pl
patroncards/card-print.pl
patroncards/create-pdf.pl
patroncards/edit-batch.pl
patroncards/edit-layout.pl
patroncards/edit-profile.pl
patroncards/edit-template.pl
patroncards/home.pl
patroncards/image-manage.pl
patroncards/manage.pl
patroncards/members-search.pl
patroncards/print.pl
plugins/plugins-home.pl
plugins/plugins-uninstall.pl
plugins/plugins-upload.pl
plugins/run.pl
reports/acquisitions_stats.pl
reports/bor_issues_top.pl
reports/borrowers_out.pl
reports/borrowers_stats.pl
reports/cat_issues_top.pl
reports/catalogue_out.pl
reports/catalogue_stats.pl
reports/dictionary.pl
reports/issues_avg_stats.pl
reports/issues_by_borrower_category.plugin
reports/issues_stats.pl
reports/itemslost.pl
reports/itemtypes.plugin
reports/manager.pl
reports/reports-home.pl
reports/reservereport.pl
reports/reserves_stats.pl
reports/serials_stats.pl
reports/stats.print.pl
reports/stats.screen.pl
reserve/modrequest.pl
reserve/modrequest_suspendall.pl
reserve/placerequest.pl
reserve/renewscript.pl
reserve/request.pl
reviews/reviewswaiting.pl
rotating_collections/addItems.pl
rotating_collections/editCollections.pl
rotating_collections/rotatingCollections.pl
rotating_collections/transferCollection.pl
serials/acqui-search-result.pl
serials/acqui-search.pl
serials/checkexpiration.pl
serials/claims.pl
serials/create-numberpattern.pl
serials/lateissues-export.pl
serials/member-search.pl
serials/reorder_members.pl
serials/routing-preview.pl
serials/routing.pl
serials/serial-issues.pl
serials/serials-collection.pl
serials/serials-edit.pl
serials/serials-home.pl
serials/serials-recieve.pl
serials/serials-search.pl
serials/showpredictionpattern.pl
serials/subscription-add.pl
serials/subscription-bib-search.pl
serials/subscription-detail.pl
serials/subscription-frequencies.pl
serials/subscription-frequency.pl
serials/subscription-history.pl
serials/subscription-numberpattern.pl
serials/subscription-numberpatterns.pl
serials/subscription-renew.pl
serials/viewalerts.pl
services/itemrecorddisplay.pl
sms/sms.pl
sms/sms_listen_windows_start.pl
suggestion/suggestion.pl
svc/authentication
svc/bib
svc/bib_profile
svc/cover_images
svc/import_bib
svc/new_bib
svc/report
t/Languages.t
t/Output.t
t/db_dependent/Auth.t
t/db_dependent/BackgroundJob.t
t/db_dependent/ILSDI_Services.t
t/db_dependent/Serials.t
tags/list.pl
tags/review.pl
test/progressbar.pl
test/progressbarsubmit.pl
tools/ajax-inventory.pl
tools/background-job-progress.pl
tools/batchMod.pl
tools/batch_records_ajax.pl
tools/cleanborrowers.pl
tools/copy-holidays.pl
tools/csv-profiles.pl
tools/exceptionHolidays.pl
tools/export.pl
tools/holidays.pl
tools/import_borrowers.pl
tools/inventory.pl
tools/koha-news.pl
tools/letter.pl
tools/manage-marc-import.pl
tools/marc_modification_templates.pl
tools/modborrowers.pl
tools/newHolidays.pl
tools/overduerules.pl
tools/picture-upload.pl
tools/quotes-upload.pl
tools/quotes.pl
tools/quotes/quotes-upload_ajax.pl
tools/quotes/quotes_ajax.pl
tools/scheduler.pl
tools/stage-marc-import.pl
tools/tools-home.pl
tools/upload-cover-image.pl
tools/upload-file-progress.pl
tools/upload-file.pl
tools/viewlog.pl
virtualshelves/addbybiblionumber.pl
virtualshelves/downloadshelf.pl
virtualshelves/sendshelf.pl
virtualshelves/shelves.pl

index 493c8df..ae99fe9 100644 (file)
@@ -90,7 +90,7 @@ C4::Auth - Authenticates Koha users
 
 =head1 SYNOPSIS
 
-  use CGI;
+  use CGI qw ( -utf8 );
   use C4::Auth;
   use C4::Output;
 
index 17e43e4..c5f21a8 100644 (file)
@@ -23,7 +23,7 @@ use warnings;
 use C4::Debug;
 use C4::Context;
 use Authen::CAS::Client;
-use CGI;
+use CGI qw ( -utf8 );
 use FindBin;
 
 
index b735ab8..5f3a9e5 100644 (file)
@@ -22,7 +22,7 @@ use warnings;
 
 use Exporter;
 
-# use CGI;
+# use CGI qw ( -utf8 );
 use vars qw($VERSION @ISA @EXPORT $debug $cgi_debug);
 # use vars qw(@EXPORT_OK %EXPORT_TAGS);
 
index 328c55e..7b74723 100644 (file)
@@ -20,7 +20,7 @@ package C4::Form::MessagingPreferences;
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Members::Messaging;
 use C4::Debug;
index e33ef6e..b917a82 100644 (file)
@@ -31,7 +31,7 @@ use C4::Context;
 use C4::AuthoritiesMarc;
 use XML::Simple;
 use HTML::Entities;
-use CGI;
+use CGI qw ( -utf8 );
 use DateTime;
 use C4::Auth;
 
@@ -49,7 +49,7 @@ hashref that will be printed by XML::Simple in opac/ilsdi.pl
 
        use C4::ILSDI::Services;
        use XML::Simple;
-       use CGI;
+       use CGI qw ( -utf8 );
 
        my $cgi = new CGI;
 
index 3804242..1869f2f 100644 (file)
@@ -23,7 +23,7 @@ use warnings;
 
 require Exporter;
 use C4::Context;
-use CGI;
+use CGI qw ( -utf8 );
 
 use vars qw($VERSION @ISA @EXPORT);
 
index 35ac2e1..1fe45ae 100644 (file)
@@ -39,7 +39,7 @@ InstallAuth - Authenticates Koha users for Install process
 
 =head1 SYNOPSIS
 
-  use CGI;
+  use CGI qw ( -utf8 );
   use InstallAuth;
   use C4::Output;
 
index 74019c0..fce28e4 100644 (file)
@@ -19,7 +19,7 @@ package C4::Reports;
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 use C4::Context;
index bb283fa..aaa1ce2 100644 (file)
@@ -19,7 +19,7 @@ package C4::Reports::Guided;
 
 use strict;
 #use warnings; FIXME - Bug 2505 this module needs a lot of repair to run clean under warnings
-use CGI;
+use CGI qw ( -utf8 );
 use Carp;
 
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
index edc1d04..70fe9cc 100644 (file)
@@ -10,7 +10,7 @@ use strict;
 use POSIX qw(strftime);
 use Sys::Syslog qw(syslog);
 use Data::Dumper;
-use CGI;
+use CGI qw ( -utf8 );
 
 use ILS;
 use ILS::Transaction;
index 2aca72f..5c6f696 100644 (file)
@@ -16,7 +16,7 @@ use Sip::Constants qw(:all);
 use Sip::Checksum qw(verify_cksum);
 
 use Data::Dumper;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth qw(&check_api_auth);
 
 use UNIVERSAL qw(can); # make sure this is *after* C4 modules.
index 259e28c..7350f90 100644 (file)
@@ -5,7 +5,7 @@ use strict;
 use warnings;
 use Clone qw(clone);
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use Sip::Constants qw(:all);
 use SIPtest qw(
index d834c5b..f512937 100644 (file)
@@ -38,7 +38,7 @@ BEGIN {
 # The number of tests is set in run_sip_tests() below, based
 # on the size of the array of tests.
 use Test::More;
-use CGI;
+use CGI qw ( -utf8 );
 
 use IO::Socket::INET;
 use Sip qw(:all);
index d9990ff..d59cd70 100644 (file)
@@ -41,7 +41,7 @@ This module packages several useful functions for JSON webservices.
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth qw( check_api_auth );
 use C4::Output qw( :ajax );
 use C4::Output::JSONStream;
index 35deb20..2ffeeaf 100644 (file)
@@ -21,7 +21,7 @@ package C4::Suggestions;
 use strict;
 
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Context;
 use C4::Output;
index 23f8bce..5a5cbd0 100644 (file)
@@ -3,8 +3,8 @@ package C4::Templates;
 use strict;
 use warnings;
 use Carp;
-use CGI;
-use List::MoreUtils qw/any uniq/;
+use CGI qw ( -utf8 );
+use List::MoreUtils qw/ any uniq /;
 
 # Copyright 2009 Chris Cormack and The Koha Dev Team
 #
index 7f62910..e3ff04b 100644 (file)
@@ -35,7 +35,7 @@ C4::Utils::DataTables - Utility subs for building query when DataTables source i
 
 =head1 SYNOPSYS
 
-    use CGI;
+    use CGI qw ( -utf8 );
     use C4::Context;
     use C4::Utils::DataTables;
 
index 56518c2..052839d 100644 (file)
@@ -23,7 +23,7 @@ package C4::VirtualShelves::Page;
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Exporter;
 use Data::Dumper;
 
index 4fbc7e8..7f0da61 100755 (executable)
--- a/about.pl
+++ b/about.pl
@@ -23,7 +23,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use LWP::Simple;
 use XML::Simple;
 use Config;
index 8741aa4..6aca89f 100755 (executable)
@@ -29,7 +29,7 @@ this script is the main page for acqui
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Acquisition;
index f5508a2..d95ba7b 100755 (executable)
@@ -121,7 +121,7 @@ if it is an order from an existing suggestion : the id of this suggestion.
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;           # get_template_and_user
 use C4::Acquisition;    # ModOrder
 use C4::Suggestions;    # ModStatus
index be8b897..b4aa4d9 100755 (executable)
@@ -22,7 +22,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use Carp;
 use YAML qw/Load/;
 
index 0a74ada..fb0e5e5 100755 (executable)
@@ -47,7 +47,7 @@ Default value for the dropbox.
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Koha;
 use C4::Charset;
 use C4::Auth qw/check_api_auth/;
index 6c020ca..660fd49 100755 (executable)
@@ -21,7 +21,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Members;
index e04024a..921c67e 100755 (executable)
@@ -25,7 +25,7 @@ use warnings;
 use C4::Auth;
 use C4::Koha;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Acquisition;
 use C4::Budgets;
 use C4::Branch;
index ef62921..2b2bd78 100755 (executable)
@@ -50,7 +50,7 @@ use Carp;
 use C4::Input;
 use C4::Auth;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Budgets qw/ConvertCurrency/;
 use C4::Acquisition qw/CloseBasketgroup ReOpenBasketgroup GetOrders GetBasketsByBasketgroup GetBasketsByBookseller ModBasketgroup NewBasketgroup DelBasketgroup GetBasketgroups ModBasket GetBasketgroup GetBasket GetBasketGroupAsCSV/;
index eefa450..15c76e8 100755 (executable)
@@ -47,7 +47,7 @@ If it exists, C<$basketno> is the basket we edit
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth;
 use C4::Branch;
index 9a2bb25..a5eb47d 100755 (executable)
@@ -57,7 +57,7 @@ use C4::Auth;
 use C4::Biblio;
 use C4::Budgets;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Acquisition qw/ GetBasketsInfosByBookseller CanUserManageBasket /;
 use C4::Members qw/GetMember/;
index 83fda5e..a140559 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index fe50b6d..2ff2b3c 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie;
 use JSON;
 use C4::Auth;
index d8f29fa..b9edd25 100755 (executable)
@@ -31,7 +31,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use JSON;
 use C4::Output;
 use C4::Items;
index 7480fb6..c211cc3 100755 (executable)
@@ -22,7 +22,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Acquisition;
 use C4::Biblio;
 use C4::Budgets;
index 6642561..286474f 100755 (executable)
@@ -22,7 +22,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 376681f..5bc5404 100755 (executable)
@@ -51,7 +51,7 @@ to filter on ended date.
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;    # get_template_and_user
 use C4::Output;
 use C4::Acquisition;
index d7e40b6..f64836b 100755 (executable)
@@ -29,7 +29,7 @@ Invoice details
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Acquisition;
index 4c72d64..6542b18 100755 (executable)
@@ -29,7 +29,7 @@ Search for invoices
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 
index 585cac8..96a1824 100755 (executable)
@@ -16,7 +16,7 @@
 # along with Koha; if not, see <http://www.gnu.org/licenses>.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Acquisition;
index b68673f..f944a06 100755 (executable)
@@ -44,7 +44,7 @@ To know on which branch this script have to display late order.
 =cut
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Bookseller qw( GetBooksellersWithLateOrders );
 use C4::Auth;
 use C4::Koha;
index 02bd77b..2c6b71b 100755 (executable)
@@ -28,7 +28,7 @@ Modify just notes when basket is closed.
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Acquisition;
index 8d13915..dfcc534 100755 (executable)
@@ -59,7 +59,7 @@ use strict;
 #use warnings; FIXME - Bug 2505
 
 use C4::Search;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Biblio;
 use C4::Auth;
 use C4::Output;
index b8f667b..93c07c6 100755 (executable)
@@ -68,7 +68,7 @@ the item's id in the breeding reservoir
 
 use warnings;
 use strict;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Input;
 
index 04173db..cb04c64 100755 (executable)
@@ -18,7 +18,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Acquisition;
 use C4::Auth;
 use C4::Branch;
index e31c0a4..839b4f4 100755 (executable)
@@ -91,7 +91,7 @@ can be equal to
 use strict;
 #use warnings; FIXME - Bug 2505
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;    # get_template_and_user
 use C4::Output;
 use C4::Suggestions;
index cdf2cd7..4a1ec5b 100755 (executable)
@@ -30,7 +30,7 @@ this script is to show orders ordered but not yet received
 use C4::Context;
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 
index 878d77a..96a6a02 100755 (executable)
@@ -61,7 +61,7 @@ The biblionumber of this order.
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Koha;   # GetKohaAuthorisedValues GetItemTypes
 use C4::Acquisition;
index 65675e2..7f2ffb0 100755 (executable)
@@ -62,7 +62,7 @@ use C4::Acquisition;
 use C4::Budgets;
 use C4::Biblio;
 use C4::Items;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Dates qw/format_date format_date_in_iso/;
 use C4::Suggestions;
index e3b8f5f..ba91abd 100755 (executable)
@@ -68,7 +68,7 @@ To know how many results have to be display / page.
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 
index c3c4693..b4436e9 100755 (executable)
@@ -34,7 +34,7 @@ use C4::Auth;
 use C4::Output;
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 
 my $dbh      = C4::Context->dbh;
 my $input    = new CGI;
index ba1ee53..30a3d3e 100755 (executable)
@@ -46,7 +46,7 @@ use C4::Auth;
 use C4::Contract;
 use C4::Biblio;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Bookseller qw( DelBookseller );
 use C4::Bookseller::Contact;
index 76d4f24..3e8bdc8 100755 (executable)
@@ -20,7 +20,7 @@
 # along with Koha; if not, see <http://www.gnu.org/licenses>
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 8caff1c..b53b7e7 100755 (executable)
@@ -49,7 +49,7 @@ use warnings;
 use C4::Input;
 use C4::Auth;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Bookseller::Contact;
 use C4::Acquisition qw/SearchOrders GetOrder ModOrder/;
index 8e887df..d125d89 100755 (executable)
@@ -56,7 +56,7 @@ use C4::Bookseller qw( ModBookseller AddBookseller );
 use C4::Bookseller::Contact;
 use C4::Biblio;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 
 my $input=new CGI;
 my ($template, $loggedinuser, $cookie) = get_template_and_user(
index b431b49..0300137 100755 (executable)
@@ -18,7 +18,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 
index 1bef153..7221e41 100755 (executable)
@@ -23,7 +23,7 @@ use Modern::Perl;
 
 use C4::Auth ;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Dates qw/format_date/;
 use C4::Members;
 
index 119884a..0de825a 100755 (executable)
@@ -46,7 +46,8 @@ script to administer the budget periods table
 
 use Modern::Perl;
 
-use CGI;
+use Number::Format qw(format_price);
+use CGI qw ( -utf8 );
 use List::Util qw/min/;
 use Koha::DateUtils;
 use Koha::Database;
index 8d3f3e8..4ea2b9d 100755 (executable)
@@ -21,7 +21,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use List::Util qw/min/;
 
 use Koha::Database;
index 8997c31..a19efdb 100755 (executable)
@@ -22,7 +22,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth;
 use C4::Output;
index cc397fe..dda1d21 100755 (executable)
@@ -22,7 +22,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use List::Util qw/min/;
 use Date::Calc qw/Delta_YMD Easter_Sunday Today Decode_Date_EU/;
 use Date::Manip qw/ ParseDate UnixDate DateCalc/;
index 0376a0f..02eef5d 100755 (executable)
@@ -21,7 +21,7 @@ use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Output;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Koha;
 
index bd9ed32..2a4ff57 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Koha;
 use C4::Context;
index 090fe90..453746c 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Branch;
 use C4::Context;
index bbcfff3..f705fdc 100755 (executable)
@@ -22,7 +22,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth;
 use C4::Output;
index ec45cb9..cac4d92 100755 (executable)
@@ -23,7 +23,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth;
 use C4::Output;
index a7d9132..1b6f0ec 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index 2aa87df..a698a26 100755 (executable)
@@ -39,7 +39,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index 8fb5c64..75cee49 100755 (executable)
@@ -37,7 +37,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth;
 use C4::Branch;
index c1e0d41..3ce9b70 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index 27006f5..04618ed 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index fbd1252..9050287 100755 (executable)
@@ -22,7 +22,7 @@ use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Output;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Biblio;
 
index 082350e..f491fac 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth;
 use C4::Output;
index 93914fd..6ca29d0 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index c234310..c8a39a7 100755 (executable)
@@ -27,7 +27,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index 9065681..5550f0f 100755 (executable)
@@ -39,7 +39,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth;
 use C4::Output;
index 434d0e9..52ebeaa 100755 (executable)
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth;
 use C4::Output;
index eb6a4b1..533bda0 100755 (executable)
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 # use Data::Dumper;
 
 use C4::Context;
index 65ab938..8214deb 100755 (executable)
@@ -18,7 +18,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Biblio;
 use C4::Koha;
index 20729f2..cb7a1cc 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie;
 use C4::Context;
 use C4::Auth qw/check_cookie_auth/;
index f5370b8..bed078c 100755 (executable)
@@ -18,7 +18,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use File::Basename;
 use Encode;
 use JSON;
index bfaa44c..1bfad90 100755 (executable)
@@ -42,7 +42,7 @@ written 20/02/2002 by paul.poulain@free.fr
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 
 use List::Util qw/min/;
 use File::Spec;
index 8458ad5..8a51ec8 100755 (executable)
@@ -21,7 +21,7 @@ use strict;
 use warnings;
 use C4::Output;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Biblio;
 
index 9c23196..5261dd4 100755 (executable)
@@ -21,7 +21,7 @@ use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Output;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 
index d195718..f969b07 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Koha;
 use C4::Context;
index 1afb564..9fc93b7 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index 18a48bb..ab2e9b3 100755 (executable)
@@ -32,7 +32,7 @@ the OR operator will be applied.
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::OAI::Sets;
index c923e87..00d9640 100755 (executable)
@@ -28,7 +28,7 @@ Admin page to describe OAI SETs
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::OAI::Sets;
index 6ae1b74..41ca15f 100755 (executable)
@@ -21,7 +21,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use List::MoreUtils qw/uniq/;
 
 use C4::Auth;
index ed60473..b6cdaa2 100755 (executable)
@@ -19,7 +19,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Encode;
 use C4::Auth;
 use C4::Context;
index 04f73d9..f94cfeb 100755 (executable)
@@ -39,7 +39,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index eb3e875..942e9bf 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index 8c3f00d..58b86e2 100755 (executable)
@@ -23,7 +23,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index 1ac1b72..bb37bae 100755 (executable)
@@ -43,7 +43,7 @@ ALSO :
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use MIME::Base64;
 use C4::Auth;
 use C4::Context;
index db34c6f..54d8785 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index b7a80c2..df4b99a 100755 (executable)
@@ -25,7 +25,7 @@
 # delete_confirmed deletes a record and goes to list view.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth;
 use C4::Output;
index 607c652..818bb6d 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Auth;
 use C4::Context;
index f41775c..578d9a0 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use URI::Escape;
 use C4::Auth;
 
index 89049fe..e610e7f 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::AuthoritiesMarc;
index d0f4069..86371e0 100755 (executable)
@@ -43,7 +43,7 @@ use C4::AuthoritiesMarc;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use MARC::Record;
 use C4::Koha;
 
index eed059c..027345d 100755 (executable)
@@ -44,7 +44,7 @@ use C4::AuthoritiesMarc;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use MARC::Record;
 use C4::Koha;
 # use C4::Biblio;
index a84a9f5..3f5018c 100755 (executable)
@@ -44,7 +44,7 @@ use C4::AuthoritiesMarc;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use MARC::Record;
 use C4::Koha;
 
index dc886c0..6b79ffb 100755 (executable)
@@ -6,7 +6,7 @@ use C4::Record;
 use C4::Auth;
 use C4::Output;
 use C4::AuthoritiesMarc;
-use CGI;
+use CGI qw ( -utf8 );
 
 my $query = new CGI;
 my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
index 3628381..6f2b154 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Auth;
 use C4::AuthoritiesMarc;
index dd716a7..458b4c9 100755 (executable)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Session;
 use C4::Context;
 use C4::Auth qw/check_cookie_auth/;
index b669c08..7a28a6b 100755 (executable)
@@ -27,7 +27,7 @@ This script allows ajax call for dynamic authorities search
 
 =cut
 
-use CGI;
+use CGI qw ( -utf8 );
 use Modern::Perl;
 use JSON;
 
index 7fa915c..ea8e863 100755 (executable)
@@ -18,7 +18,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Koha;
 use C4::Biblio;
 use C4::Items;
index 5693358..199271e 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Encode qw(encode);
 
 use C4::Auth;
index a9314a3..36f3c1a 100755 (executable)
@@ -18,7 +18,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Encode qw(encode);
 use Carp;
 
index 2884303..18f0014 100755 (executable)
@@ -39,7 +39,7 @@ use strict;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Koha;
 use C4::Biblio;
 use C4::Items;
index 5eb50e5..c11bdf3 100755 (executable)
@@ -49,7 +49,7 @@ use strict;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Koha;
 use MARC::Record;
 use C4::Biblio;
index f33e263..adf6823 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Acquisition qw( GetHistory );
 use C4::Auth;
 use C4::Dates qw/format_date/;
index efdf0ee..e66d3f2 100755 (executable)
@@ -6,7 +6,7 @@ use C4::Record;
 use C4::Auth;
 use C4::Output;
 use C4::Biblio;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Ris;
 
 
index 3bab891..ad9b4b1 100755 (executable)
@@ -18,7 +18,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use JSON;
 
 use C4::Biblio;
index ff74cbe..6f9142d 100755 (executable)
@@ -26,7 +26,7 @@
 use strict;
 use warnings;
 
-use CGI;    #qw(:standard escapeHTML);
+use CGI qw ( -utf8 );    #qw(:standard escapeHTML);
 use C4::Context;
 use C4::Images;
 
index 7c1ab1d..007bdfc 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Biblio;
 use C4::Items;
index ff22bc0..aae14d9 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 
index 11f8f85..7e9c6ba 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-use CGI; 
+use CGI qw ( -utf8 ); 
 use MARC::Record;
 use C4::Auth;
 use C4::Context;
index 1893a33..39d3c9f 100755 (executable)
@@ -22,7 +22,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Koha;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Biblio;
 use C4::Items;
 use C4::Branch;
index 20e3b82..a969701 100755 (executable)
@@ -19,7 +19,7 @@
 # <http://www.gnu.org/licenses>
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Search::History;
index 24abcb0..26b3702 100755 (executable)
@@ -159,7 +159,7 @@ use URI::Escape;
 my $DisplayMultiPlaceHold = C4::Context->preference("DisplayMultiPlaceHold");
 # create a new CGI object
 # FIXME: no_undef_params needs to be tested
-use CGI qw('-no_undef_params');
+use CGI qw('-no_undef_params' -utf8 );
 my $cgi = new CGI;
 
 my ($template,$borrowernumber,$cookie);
index 1954ce8..de7fb22 100755 (executable)
@@ -24,7 +24,7 @@ use strict;
 use warnings;
 
 # standard or CPAN modules used
-use CGI qw(:standard);
+use CGI qw(:standard -utf8);
 use DBI;
 use Encode;
 
index 74613e2..41a38b4 100755 (executable)
@@ -19,7 +19,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 use strict; 
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Context;
 use C4::Biblio;
index a9cd6e8..1ed4307 100755 (executable)
@@ -26,7 +26,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Biblio;
 use C4::Breeding;
index 09e2d97..9c7fb3f 100755 (executable)
@@ -21,7 +21,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Biblio;
index f7cd6b8..79ab38c 100755 (executable)
@@ -20,7 +20,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 use strict;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Biblio;
index fdac609..bac7526 100755 (executable)
@@ -21,7 +21,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Auth;
 use C4::Items;
index 26f0800..82278a7 100755 (executable)
@@ -5,7 +5,7 @@ use strict;
 
 # standard or CPAN modules used
 use IO::File;
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Session;
 use C4::Context;
 use C4::Biblio;
index e108637..0e1cc77 100755 (executable)
@@ -21,7 +21,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Biblio;
index f3ef3e8..50aeb32 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 
index f858de4..4a0dd77 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 =head1 DESCRIPTION
index 17b313f..73190dc 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 =head1 DESCRIPTION
index f7338cb..313f66a 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Output;
 use C4::Context;
index 26aea40..bb4b861 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index a4a5770..f2144bc 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 3f5f663..e0cd235 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 9a2753b..8a16bae 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index f9a824a..ed601ec 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 93a1433..03ad6ae 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 0b08c25..b3557b3 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 134c473..a41b941 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 0c6a576..b6126b2 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index fb21e9d..71b5ba5 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index baf0490..e14a977 100644 (file)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Context;
 use C4::Search;
index 3148bad..478df1a 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index d5acce0..d58757b 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 020b24f..ae32d09 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 677008b..1b580fc 100755 (executable)
@@ -19,7 +19,7 @@
 
 use Modern::Perl;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 =head1 DESCRIPTION
index 6c0e24f..7c80e60 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 =head1 DESCRIPTION
index 1675e53..4e061f8 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 
index 55bc770..d0eedbf 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 
index 0a4012b..28bc870 100644 (file)
@@ -21,7 +21,7 @@ use Modern::Perl;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 
index 67f6cbc..6f68583 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 21bd2f4..d6d4907 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 1c567c1..5a2be80 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 8075ae5..e5470a1 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index fbdde35..ae54ae8 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index a168874..ae020e7 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 6901765..254c859 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index de9beeb..702b7d4 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 359a61d..8171921 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 6da8ba7..f979acc 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 0c70341..4dbca39 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index ce8e4e5..9a43344 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index f74352c..335315b 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index f74352c..335315b 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 0d7541c..5cb8d8d 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index f74352c..335315b 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 5ada49f..52b894e 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 8ce202e..c0193a0 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 4f2bc8c..a2ddad9 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 08563a9..21c8c40 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 62e8a8f..89696c4 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 486ef21..7615e0c 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 2a29b0e..a5be87e 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index c1a731a..8ed9253 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 21965f2..02063ca 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 5319217..4104976 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 5d3a622..89e6e5b 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 045a1e2..d4a31d2 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 4e73164..2a86b3d 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 4f2bc8c..a2ddad9 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 1afbba8..2921068 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 5bf5caf..7fc32e5 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 16195fe..3ef0a9a 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index ef1b006..936ad20 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 3f0835b..34d435f 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 359d8e3..3b394aa 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index d6f99fa..f0a9cff 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 15c21ee..5809732 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 7d17caf..cf0e469 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index e0b7a38..9691b36 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index e6dace6..67f4ab6 100755 (executable)
@@ -25,7 +25,7 @@ use C4::AuthoritiesMarc;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Search;
 use MARC::Record;
 use C4::Koha;
index d9e02b2..e7d0903 100755 (executable)
@@ -42,7 +42,7 @@ use strict;
 
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::AuthoritiesMarc;
index 0a0894b..22e47eb 100755 (executable)
@@ -42,7 +42,7 @@ It need :
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::AuthoritiesMarc;
index a473792..3cacb51 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Context;
 use C4::Search;
index 2b44823..714229c 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index ac99e4b..3facd0c 100755 (executable)
@@ -22,7 +22,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 04457e6..4dc87ac 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 
 use Koha::Util::FrameworkPlugin qw(wrapper);
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 
 use C4::Search;
index 49dfa39..854ef7a 100755 (executable)
@@ -25,7 +25,7 @@
 =cut
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Charset;
 use C4::Auth qw/check_cookie_auth/;
index 22dc565..b5c08a3 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index c4d68e3..a53ade8 100755 (executable)
@@ -19,7 +19,7 @@ use strict;
 use warnings;
 
 use C4::Templates;
-use CGI;
+use CGI qw ( -utf8 );
 
 my $query    = new CGI;
 my $language = $query->param('language');
index 053d197..3506c9b 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Context;
 use C4::Auth;
index dcc1611..eeff50e 100755 (executable)
@@ -22,7 +22,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Debug;
 use C4::Context;
 use C4::Circulation;
index c5a8743..3698114 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Context;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Auth;
 use C4::Overdues;    # AddNotifyLine
index 190ca71..2c8612c 100755 (executable)
@@ -22,7 +22,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Circulation;
 use C4::Output;
 use C4::Reserves;
index 161158c..bbb715b 100755 (executable)
@@ -18,7 +18,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 50936d7..982669c 100755 (executable)
@@ -24,7 +24,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use DateTime;
 use DateTime::Duration;
 use C4::Output;
index 7229373..c04ff57 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Context;
 use C4::Auth;
index 525e25a..db0869c 100755 (executable)
@@ -22,7 +22,7 @@ use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth qw/:DEFAULT get_session/;
 use C4::Reserves;
 
index 87bc67f..8cf93b1 100755 (executable)
@@ -18,7 +18,7 @@
 #
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 
 my $query = new CGI;
index ebc161b..b7757e2 100755 (executable)
@@ -18,7 +18,7 @@
 #
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index c2a0db1..a0c7af7 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 use warnings;
 use C4::Context;
 use C4::Output;
-use CGI qw(-oldstyle_urls);
+use CGI qw(-oldstyle_urls -utf8);
 use C4::Auth;
 use C4::Branch;
 use C4::Debug;
index 2deb67b..f964074 100755 (executable)
@@ -31,7 +31,7 @@ use constant TWO_DAYS_AGO => -2;
 
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Dates qw/format_date format_date_in_iso/;
 use C4::Debug;
index 7800fc9..180c881 100755 (executable)
@@ -19,7 +19,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth qw/:DEFAULT get_session/;
 use C4::Output;
index 73c68f0..9585660 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Date::Calc qw/Today Add_Delta_YM/;
 
 use C4::Context;
index 0faf22a..a7e9c6e 100755 (executable)
@@ -30,7 +30,7 @@ script to execute returns of books
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use DateTime;
 use C4::Context;
 use C4::Auth qw/:DEFAULT get_session/;
index 4e5a8e4..cfabb71 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Context;
 use C4::Output;
index 3fc8283..6db5632 100755 (executable)
@@ -23,7 +23,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index 0abb417..3cf84cc 100755 (executable)
@@ -23,7 +23,7 @@ use warnings;
 
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth qw/:DEFAULT get_session/;
 use C4::Circulation;
 
index 522d922..cf48c3e 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Branch;     # GetBranches
index 54fe66e..cff29c7 100755 (executable)
@@ -24,7 +24,7 @@ This script displays items in the tmp_holdsqueue table
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Biblio;
index 222939c..502aafd 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Branch; # GetBranchName
index 517c8c0..091ce5f 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth qw/check_cookie_auth/;
 use C4::Debug;
index 8973902..4ac19f5 100755 (executable)
@@ -27,7 +27,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Members;
 use C4::Auth qw/check_cookie_auth/;
index 9429d91..0a96860 100755 (executable)
@@ -20,7 +20,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 8a578d5..b82df5b 100755 (executable)
@@ -20,7 +20,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index f7fbd8e..4ae6c9b 100755 (executable)
@@ -20,7 +20,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index a82c781..e87083f 100755 (executable)
@@ -20,7 +20,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 8f73203..e94b4a8 100755 (executable)
@@ -19,7 +19,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Output;
 use C4::Reserves;
index cb161f7..8b5144c 100755 (executable)
@@ -39,7 +39,7 @@ binmode(STDOUT, ":utf8");
 use C4::Auth qw(check_api_auth);
 use C4::Output;
 use C4::Context;
-use CGI;
+use CGI qw ( -utf8 );
 
 my $cgi = new CGI;
 
index 85085d7..71630c3 100755 (executable)
@@ -30,7 +30,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use Authen::CAS::Client;
 
 # URL Of the CAS Server
index 3c2c9ef..31f39c2 100755 (executable)
@@ -27,7 +27,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use Authen::CAS::Client;
 use Storable qw(nstore_fd);
 
index 92c61a5..5afd7f1 100755 (executable)
@@ -32,7 +32,7 @@ This PGTIOU will allow us to retrive the matching PGTID
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use Authen::CAS::Client;
 use Storable qw(fd_retrieve);
 use LWP::Simple;
index 62b449f..8f56bfc 100755 (executable)
@@ -21,7 +21,7 @@ use strict;
 use C4::Output;
 use C4::Templates;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use warnings;
 
 use vars qw($debug);
index 94da8ed..23dc5ae 100755 (executable)
@@ -18,7 +18,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index d9622c0..88c88d8 100755 (executable)
@@ -17,7 +17,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 946eeae..552398b 100755 (executable)
@@ -18,7 +18,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index e3b7b88..11918c3 100755 (executable)
@@ -18,7 +18,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index d725489..e7e0071 100755 (executable)
@@ -18,7 +18,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index bc2997d..9fb6e0c 100755 (executable)
@@ -18,7 +18,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
diff --git a/help.pl b/help.pl
index 4df8dc2..7d4385d 100755 (executable)
--- a/help.pl
+++ b/help.pl
@@ -23,7 +23,7 @@ use C4::Templates;
 use C4::Output;
 # use C4::Auth;
 use C4::Context;
-use CGI;
+use CGI qw ( -utf8 );
 
 sub _help_template_file_of_url {
     my $url = shift;
index dc01dc6..4420fde 100755 (executable)
@@ -5,7 +5,7 @@ use warnings;
 use diagnostics;
 
 use C4::InstallAuth;
-use CGI;
+use CGI qw ( -utf8 );
 use IPC::Cmd;
 
 use C4::Context;
index 1b0c02c..3c23021 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Text::CSV_XS;
 use Data::Dumper;
 
index e23b068..9c75bf2 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Debug;
 use C4::Creators;
index 5e62ef8..3b568c7 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use XML::Simple;
 use Data::Dumper;
 
index 4bd58ff..60d7b43 100755 (executable)
@@ -22,7 +22,7 @@ use strict;
 use warnings;
 use vars qw($debug);
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth qw(get_template_and_user);
 use C4::Output qw(output_html_with_http_headers);
index 2dd7612..fe38903 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use POSIX;
 
 use C4::Auth qw(get_template_and_user);
index c1b25ae..df2e73b 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth qw(get_template_and_user);
 use C4::Output qw(output_html_with_http_headers);
index f527d28..241f9fc 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth qw(get_template_and_user);
 use C4::Output qw(output_html_with_http_headers);
index 44f3ed3..946a6eb 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth qw(get_template_and_user);
 use C4::Output qw(output_html_with_http_headers);
index 04db4d0..eb6defe 100755 (executable)
@@ -21,7 +21,7 @@ use strict;
 use warnings;
 use vars qw($debug $cgi_debug);
 
-use CGI;
+use CGI qw ( -utf8 );
 use List::Util qw( max min );
 use POSIX qw(ceil);
 
index 061dea4..4ee8779 100755 (executable)
@@ -22,7 +22,7 @@ use strict;
 use warnings;
 use vars qw($debug);
 
-use CGI;
+use CGI qw ( -utf8 );
 use Data::Dumper;
 
 use C4::Auth qw(get_template_and_user);
index 7d53c74..b898d83 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Data::Dumper;
 
 use C4::Auth qw(get_template_and_user);
index 576b399..b24441b 100755 (executable)
@@ -17,7 +17,7 @@
 
 use warnings;
 use strict;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index f88a6a1..31aed54 100755 (executable)
@@ -17,7 +17,7 @@
 
 use warnings;
 use strict;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 
index ab3a7ab..09450f6 100755 (executable)
@@ -20,7 +20,7 @@
 # along with Koha; if not, see <http://www.gnu.org/licenses>.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Auth;
 use C4::Koha;
index 50f5db9..d3b5240 100755 (executable)
@@ -28,7 +28,7 @@ use warnings;
 use C4::Auth;
 use C4::Output;
 use C4::Dates qw/format_date/;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Members;
 use C4::Branch;
 use C4::Accounts;
index 85c0166..bad636c 100755 (executable)
@@ -24,7 +24,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index f9b7080..efe4ad4 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Branch;
index e5b39df..a9fe9dd 100755 (executable)
@@ -21,7 +21,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index c8eb619..c6ad4de 100755 (executable)
@@ -27,7 +27,7 @@ use warnings;
 
 use C4::Auth;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Members;
 use C4::Branch;
index c72b387..240c680 100755 (executable)
@@ -27,7 +27,7 @@ use warnings;
 
 use C4::Auth;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Members;
 use C4::Accounts;
 use C4::Items;
index ab96951..68c52aa 100755 (executable)
@@ -7,7 +7,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Auth qw(:DEFAULT :EditPermissions);
 use C4::Context;
index eb37b99..310d641 100755 (executable)
@@ -14,7 +14,7 @@ use C4::Context;
 use C4::Members;
 use C4::Branch;
 use C4::Circulation;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Members::Attributes qw(GetBorrowerAttributes);
 
 use Digest::MD5 qw(md5_base64);
index ad3ee85..191ff44 100755 (executable)
@@ -26,7 +26,7 @@
 use Modern::Perl;
 use C4::Auth;
 use C4::Output;
-use CGI;
+use CGI qw( -utf8 );
 use C4::Branch;
 use C4::Category;
 use C4::Members qw( GetMember );
index 7a0329f..5db8273 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 use warnings;
 
 # external modules
-use CGI;
+use CGI qw ( -utf8 );
 # use Digest::MD5 qw(md5_base64);
 use List::MoreUtils qw/uniq/;
 
index 37fc496..0d0e279 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 68fec22..8408702 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 03cd89f..bed43ac 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 592e134..98ad5ee 100755 (executable)
@@ -19,7 +19,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use Koha::DateUtils;
index 1735e02..92fe2d9 100755 (executable)
@@ -35,7 +35,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth;
 use C4::Output;
index e0338d3..113e20c 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Members;
 use C4::Branch;
 use C4::Letters;
index 4f663d6..4161e97 100755 (executable)
@@ -23,7 +23,7 @@
 use strict;
 use warnings;
 
-use CGI; #qw(:standard escapeHTML);
+use CGI qw ( -utf8 ); #qw(:standard escapeHTML);
 use C4::Context;
 use C4::Members;
 
index 0e41f80..381cf31 100755 (executable)
@@ -33,7 +33,7 @@ use URI::Escape;
 use C4::Context;
 use C4::Auth;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Members;
 use C4::Accounts;
 use C4::Stats;
index 6473f02..692b958 100755 (executable)
@@ -23,7 +23,7 @@ use URI::Escape;
 use C4::Context;
 use C4::Auth;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Members;
 use C4::Members::Attributes qw(GetBorrowerAttributes);
 use C4::Accounts;
index 7f1e251..1a138f8 100755 (executable)
@@ -28,7 +28,7 @@ use warnings;
 use C4::Auth;
 use C4::Output;
 use C4::Dates qw/format_date/;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Members;
 use C4::Branch;
 use C4::Accounts;
index ef01d54..c53cfaa 100755 (executable)
@@ -26,7 +26,7 @@ use warnings;
 use C4::Auth;
 use C4::Output;
 use C4::Dates qw/format_date/;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Members;
 use C4::Branch;
 use C4::Accounts;
index cae8e43..1945802 100755 (executable)
@@ -34,7 +34,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth qw/:DEFAULT get_session/;
 use C4::Output;
index d7d7ab0..4c58c3e 100755 (executable)
@@ -19,7 +19,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index 672c2c8..de2baec 100755 (executable)
@@ -23,7 +23,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index ae6bf1c..efd067e 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Auth qw/:DEFAULT get_session/;
 use C4::Branch; # GetBranches
index 2c13401..6ec490e 100755 (executable)
@@ -26,7 +26,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Members;
 use C4::Auth;
index af31815..de9a6a3 100755 (executable)
@@ -24,7 +24,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Branch;
 use C4::Context;
index 25e80ca..1a320c0 100755 (executable)
@@ -28,7 +28,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth;
 use C4::Output;
index 99bd22f..9dc6c58 100755 (executable)
@@ -29,7 +29,7 @@ use Getopt::Long qw(:config auto_help auto_version);
 use Pod::Usage;
 use Mail::Sendmail;
 use Text::CSV_XS;
-use CGI;
+use CGI qw ( -utf8 );
 use Carp;
 use Encode;
 
index edd35a6..713057c 100755 (executable)
@@ -19,7 +19,7 @@
 #
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use JSON;
 use C4::Auth;
 use C4::Output;
index 995d2db..ec4342d 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Auth;
 use C4::Koha;
index 73a2f78..aeff99f 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Auth;
 use C4::Koha;
index e54ee5b..bd72d60 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Circulation;
 
index 2ce4f97..05084c6 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Auth;
 use C4::Koha;
index 771d459..b56bb75 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Circulation;
 
index bf24260..cc8006c 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 4f42ece..368505e 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 2c0077f..09d56c3 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index ca834f0..0b2528b 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 5aa3f09..fb8ee7e 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index af1b228..456f7c8 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index a8cc47d..efd759b 100755 (executable)
@@ -27,7 +27,7 @@ use C4::Auth;
 use C4::Output;
 use C4::Context;
 use XML::Simple;
-use CGI;
+use CGI qw ( -utf8 );
 
 =head1 DLF ILS-DI for Koha
 
index 53394cb..b6b3a24 100755 (executable)
@@ -17,7 +17,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Templates qw/gettemplate/;
index b453408..d6ef2e9 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI qw/:standard -oldstyle_urls/;
+use CGI qw( :standard -oldstyle_urls -utf8 );
 use vars qw( $GZIP );
 use C4::Context;
 
index 2acddb4..d45ebc3 100755 (executable)
@@ -45,7 +45,7 @@ use warnings;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use MARC::Record;
 use C4::Biblio;
 use C4::Items;
index 2e9b537..23c802a 100755 (executable)
@@ -48,7 +48,7 @@ use Modern::Perl;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use MARC::Record;
 use C4::Biblio;
 use C4::Items;
index 3907001..7bbdc6e 100755 (executable)
@@ -20,7 +20,7 @@
 
 
 use strict;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Members;
 use C4::Circulation;
 use C4::Auth;
index 4d8cf6a..f988d9d 100755 (executable)
@@ -25,7 +25,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Biblio;
 use C4::VirtualShelves qw/:DEFAULT GetAllShelves/;
 use C4::Output;
index f177878..694ce8c 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Dates;
 use C4::Output;
index 1810c1c..ab91944 100755 (executable)
@@ -21,8 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
-
+use CGI qw ( -utf8 );
 use C4::Auth;
 
 use C4::Context;
index 3e17cf1..2f2a0dc 100755 (executable)
@@ -43,7 +43,7 @@ use C4::AuthoritiesMarc;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use MARC::Record;
 use C4::Koha;
 
index 690fc3c..2b345e1 100755 (executable)
@@ -18,7 +18,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Koha;
 use C4::Biblio;
 use C4::Branch;
index 87532d2..3d2f233 100755 (executable)
@@ -18,7 +18,7 @@
 # along with Koha; if not, see <http://www.gnu.org/licenses>.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 0ff2c02..fbdae0b 100755 (executable)
@@ -30,7 +30,7 @@ use warnings;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Biblio;
 use C4::Koha;       # use getitemtypeinfo
 
index 1c0b842..a002680 100755 (executable)
@@ -18,7 +18,7 @@
 use strict;
 use warnings;
 use C4::Templates;
-use CGI;
+use CGI qw ( -utf8 );
 
 my $query    = new CGI;
 my $language = $query->param('language');
index 9741359..b1cf4c1 100755 (executable)
@@ -20,7 +20,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index b6a18ae..eb542e2 100755 (executable)
@@ -20,7 +20,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 9ba8120..4072138 100755 (executable)
@@ -23,7 +23,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Acquisition qw( SearchOrders );
 use C4::Auth qw(:DEFAULT get_session);
 use C4::Branch;
index 2d4fb1b..98a7f3c 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Encode qw(encode);
 
 use C4::Auth;
index 012e51b..7a6b1dd 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Encode qw(encode);
 
 use C4::Auth;
index 64c758a..707392f 100755 (executable)
@@ -24,7 +24,7 @@ use C4::Record;
 use C4::Auth;
 use C4::Output;
 use C4::Biblio;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Ris;
 
index dace1b1..acaac9b 100755 (executable)
@@ -22,7 +22,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Data::ICal;
 use Data::ICal::Entry::Event;
 use DateTime;
index e2dc556..c690f0b 100755 (executable)
@@ -26,7 +26,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Images;
 
index 2269971..9d71bdc 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Biblio;
 use C4::Output;
index 5374f36..9db64cb 100755 (executable)
@@ -19,7 +19,7 @@
 
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;    # get_template_and_user
 use C4::Output;
 use C4::NewsChannels;    # GetNewsToDisplay
index 6abe803..de3ca52 100755 (executable)
@@ -17,7 +17,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Digest::MD5 qw( md5_base64 md5_hex );
 use String::Random qw( random_string );
 
index 096dbff..b0c1cde 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;    # checkauth, getborrowernumber.
 use C4::Context;
index d39e220..92461b9 100755 (executable)
@@ -18,7 +18,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Reserves;
 use C4::Auth;
index 4cefe21..25ec92c 100755 (executable)
@@ -25,7 +25,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Reserves;
 use C4::Auth;
index a7ccf25..5859e57 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Context;
index 1e07b9f..dbf60af 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth qw(:DEFAULT get_session);
 use C4::Output;
index 2948eb3..377e09e 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;    # checkauth, getborrowernumber.
 use C4::Context;
index eab6abc..a6fc4ee 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 use C4::Members;
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie;  # need to check cookies before having CGI parse the POST request
 use C4::Auth qw(:DEFAULT check_cookie_auth);
 
index fd98e6c..4d611a3 100755 (executable)
@@ -17,7 +17,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 use strict;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;    # checkauth, getborrowernumber.
 use C4::Context;
index a474845..db8fc3f 100755 (executable)
@@ -26,7 +26,7 @@ A script that takes an ajax json query, and then inserts or modifies a star-rati
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie;  # need to check cookies before having CGI parse the POST request
 
 use C4::Auth qw(:DEFAULT check_cookie_auth);
index b2bcf6f..552d8a6 100755 (executable)
@@ -27,7 +27,7 @@ note: there is currently no 'delete rating' functionality in this script
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie;
 use C4::Auth qw(:DEFAULT check_cookie_auth);
 use C4::Context;
index 1fc0dbc..0e2d89f 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Koha;
index 05b258f..1984610 100755 (executable)
@@ -17,7 +17,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 40a07e5..3a64ccf 100755 (executable)
@@ -24,7 +24,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Circulation;
 use C4::Auth;
 use C4::Context;
index ba778db..6c381f3 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;    # checkauth, getborrowernumber.
 use C4::Koha;
 use C4::Circulation;
index 39b8f8f..948d5e5 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Koha;
 use C4::Output;
index 5b5a66d..85e7f33 100755 (executable)
@@ -20,7 +20,7 @@
 use Modern::Perl;
 
 use C4::Auth qw(:DEFAULT get_session);
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Log;
index 692d70b..d04f436 100755 (executable)
@@ -51,7 +51,7 @@ use Business::ISBN;
 my $DisplayMultiPlaceHold = C4::Context->preference("DisplayMultiPlaceHold");
 # create a new CGI object
 # FIXME: no_undef_params needs to be tested
-use CGI qw('-no_undef_params');
+use CGI qw('-no_undef_params' -utf8);
 my $cgi = new CGI;
 
 my $branch_group_limit = $cgi->param("branch_group_limit");
index 8143cca..7b63ee2 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Encode qw(encode);
 use Carp;
 
index b662664..61cc979 100755 (executable)
@@ -20,8 +20,8 @@
 use strict;
 use warnings;
 
-use CGI;
-use Encode qw(decode encode);
+use CGI qw ( -utf8 );
+use Encode qw( encode );
 use Carp;
 
 use Mail::Sendmail;
index d276952..93a0ae3 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Koha;
 use C4::Dates;
index 669629b..f29e170 100755 (executable)
@@ -24,7 +24,7 @@ use constant TEMPLATE_NAME => 'opac-shareshelf.tt';
 use constant SHELVES_URL =>
   '/cgi-bin/koha/opac-shelves.pl?display=privateshelves&viewshelf=';
 
-use CGI;
+use CGI qw ( -utf8 );
 use Email::Valid;
 
 use C4::Auth;
index 0cdd0c4..fe13b7d 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::VirtualShelves::Page;
 use C4::Auth;
 
index 86be88f..786693e 100755 (executable)
@@ -21,7 +21,7 @@ use strict;
 use warnings;
 
 # standard or CPAN modules used
-use CGI;
+use CGI qw ( -utf8 );
 use Encode;
 
 # Koha modules used
index cf493d5..2bca5d6 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Koha;
 use C4::Output;
index 2d89d93..c4b1359 100755 (executable)
@@ -18,7 +18,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;    # get_template_and_user
 use C4::Members;
 use C4::Branch;
index 5a058d2..6388a01 100755 (executable)
@@ -32,7 +32,7 @@ C4::Scrubber is used to remove all markup content from the sumitted text.
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie; # need to check cookies before having CGI parse the POST request
 
 use C4::Auth qw(:DEFAULT check_cookie_auth);
index 19322c5..3a7a307 100755 (executable)
@@ -30,7 +30,7 @@ use warnings;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Biblio;
 use C4::Koha;       # use getitemtypeinfo
 
index d14163b..154e880 100755 (executable)
@@ -22,7 +22,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Context;
 use C4::Search;
index ad4f339..995db7b 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Koha;
index 356d351..e94f00b 100755 (executable)
@@ -23,7 +23,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth   qw(get_template_and_user);
 use C4::Output qw(output_html_with_http_headers);
index 09c6c6a..6ba0066 100755 (executable)
@@ -28,7 +28,7 @@ It is called from sco-main.pl
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Auth qw/:DEFAULT get_session/;
 use C4::Output;
index 0d103ec..c6b9b32 100755 (executable)
@@ -34,7 +34,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Digest::MD5 qw(md5_base64);
 
 use C4::Auth qw(get_template_and_user checkpw);
index ed41e08..e871f74 100755 (executable)
@@ -17,7 +17,7 @@
 # with Koha; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-use CGI;
+use CGI qw ( -utf8 );
 use strict;
 use warnings;
 use C4::Auth;
index 02b6ad0..22f4b1b 100755 (executable)
@@ -35,7 +35,7 @@ JS side from having to deal with cross-origin/authentication issues.
 use strict;
 use warnings;
 
-use CGI qw(-oldstyle_urls);
+use CGI qw(-oldstyle_urls -utf8);
 use JSON;
 
 use C4::Context;
index af6b712..bfc84e5 100755 (executable)
@@ -25,7 +25,7 @@ use Modern::Perl;
 
 use C4::Reports::Guided;
 use JSON;
-use CGI;
+use CGI qw ( -utf8 );
 
 use Koha::Cache;
 
index 611c503..ea0e9d7 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Context;
index 9c08565..0fbb31b 100755 (executable)
@@ -57,7 +57,7 @@ use warnings;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use JSON;
 use Koha::SuggestionEngine;
 
index 7182fdb..d64b00b 100755 (executable)
@@ -22,7 +22,7 @@ use Modern::Perl;
 use C4::Context;
 use C4::Auth qw(checkauth);
 use Koha::Linktracker;
-use CGI;
+use CGI qw ( -utf8 );
 
 my $cgi = new CGI;
 my $uri = $cgi->param('uri') || '';
index 96076b6..8b573e4 100755 (executable)
@@ -37,7 +37,7 @@ an XML format such as OAI DC, RSS2, MARCXML, or MODS.
 
 =cut
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Biblio;
 use XML::LibXML;
index b5cafb2..27060a6 100755 (executable)
@@ -19,7 +19,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index aa515c2..f9d1aef 100755 (executable)
@@ -19,7 +19,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index a1dee24..ef2085c 100755 (executable)
@@ -19,7 +19,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 457520f..a5cdf2b 100755 (executable)
@@ -19,7 +19,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 6e38ca1..658f92d 100755 (executable)
@@ -19,7 +19,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 482c15f..1d82ae0 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Data::Dumper;
 
 use C4::Auth qw(get_template_and_user);
index 56a32e6..d507722 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use Graphics::Magick;
 use XML::Simple;
index fb730a7..70dac9c 100755 (executable)
@@ -22,7 +22,7 @@ use strict;
 use warnings;
 use vars qw($debug);
 
-use CGI;
+use CGI qw ( -utf8 );
 use autouse 'Data::Dumper' => qw(Dumper);
 
 use C4::Auth qw(get_template_and_user);
index dd5f46a..513ab5f 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Text::CSV_XS;
 use XML::Simple;
 use autouse 'Data::Dumper' => qw(Dumper);
index 0f03754..84f18e6 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth qw(get_template_and_user);
 use C4::Output qw(output_html_with_http_headers);
index 0b1da55..8d07e8b 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use autouse 'Data::Dumper' => qw(Dumper);
 
 use C4::Auth qw(get_template_and_user);
index cedfef2..de7f243 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth qw(get_template_and_user);
 use C4::Output qw(output_html_with_http_headers);
index 0ec1b7b..d72c655 100755 (executable)
@@ -3,7 +3,7 @@
 use warnings;
 use strict;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Graphics::Magick;
 use POSIX qw(ceil);
 use autouse 'Data::Dumper' => qw(Dumper);
index 2c13a4e..a05f0f8 100755 (executable)
@@ -22,7 +22,7 @@ use strict;
 use warnings;
 use vars qw($debug);
 
-use CGI;
+use CGI qw ( -utf8 );
 use autouse 'Data::Dumper' => qw(Dumper);
 
 use C4::Auth qw(get_template_and_user);
index 8d46417..3492c7d 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 76ff2eb..4b20e5a 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use autouse 'Data::Dumper' => qw(Dumper);
 
 use C4::Auth qw(get_template_and_user);
index 03095bb..693aca9 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use Koha::Plugins;
 use C4::Auth;
index b7dad41..bde1ff3 100755 (executable)
@@ -21,7 +21,7 @@ use warnings;
 use Archive::Extract;
 use File::Temp;
 use File::Copy;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Context;
 use C4::Auth;
index 34805e8..2cadb5d 100755 (executable)
@@ -22,7 +22,7 @@ use warnings;
 use Archive::Extract;
 use File::Temp;
 use File::Copy;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Context;
 use C4::Auth;
index 50eb4dc..ec7ab6b 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use Koha::Plugins::Handler;
 use C4::Auth;
index b19bf8e..fd30926 100755 (executable)
@@ -20,7 +20,7 @@
 use Modern::Perl;
 
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Reports;
 use C4::Output;
index f8ee8e8..d219991 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 9687234..3acfcdc 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Context;
 use C4::Koha;
index e71fef9..0280a86 100755 (executable)
@@ -18,7 +18,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use List::MoreUtils qw/uniq/;
 
 use C4::Auth;
index 893fd21..5916986 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Branch; # GetBranches
 use C4::Output;
index 2637f98..3454d2e 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Context;
index 2ab9bfe..94371e9 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Branch; # GetBranches
 use C4::Output;
index f3e08d0..967c73a 100755 (executable)
@@ -20,7 +20,7 @@ use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
 use strict;
 use warnings;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Reports::Guided;
 use C4::Dates;
index 3781d37..93fe046 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Branch; # GetBranches
 use C4::Output;
index 806ff7c..95cee7d 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Search;
 use C4::Output;
index 0ab0143..7a487f8 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 
-use CGI;
+use CGI qw ( -utf8 );
 use Date::Manip;
 
 use C4::Auth;
index cb283d5..450ed45 100755 (executable)
@@ -28,7 +28,7 @@ This script displays lost items.
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Biblio;
index e4164a5..b0505d0 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Search;
 use C4::Output;
index 01b4deb..7a91e9e 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index 29d3617..b1c7355 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index bd5ee0c..90085bc 100755 (executable)
@@ -27,7 +27,7 @@ use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Stats;
 use C4::Dates qw/format_date/;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Branch; # GetBranches
 use C4::Auth;
index 11fcb8e..df8d648 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Debug;
index c7644c8..3ec22f8 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Branch; # GetBranches
 use C4::Dates qw/format_date/;
index 066aafa..9495360 100755 (executable)
@@ -2,7 +2,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 
 use C4::Auth;
index 0eef8d1..d50368d 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Auth;
 use C4::Context;
index 183f52e..9b64e24 100755 (executable)
@@ -24,7 +24,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Reserves;
 use C4::Auth;
index a8662c7..4d3b6a5 100755 (executable)
@@ -24,7 +24,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Reserves;
 use C4::Auth;
index 3fe459c..1499ea5 100755 (executable)
@@ -24,7 +24,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Biblio;
 use C4::Items;
 use C4::Output;
index 56fab0b..b5402d1 100755 (executable)
@@ -21,7 +21,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Circulation;
 use C4::Context;
 use C4::Items;
index 70c002a..ce0e70f 100755 (executable)
@@ -29,7 +29,7 @@ script to place reserves/requests
 use strict;
 use warnings;
 use C4::Branch;
-use CGI;
+use CGI qw ( -utf8 );
 use List::MoreUtils qw/uniq/;
 use Date::Calc qw/Date_to_Days/;
 use C4::Output;
index 206d63b..b7cf3af 100755 (executable)
@@ -18,7 +18,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Context;
index 6286a40..93fa4ee 100755 (executable)
@@ -24,7 +24,7 @@ use C4::Context;
 use C4::RotatingCollections;
 use C4::Items;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 my $query = new CGI;
 
index 6d99ddb..fe02cf2 100755 (executable)
@@ -18,7 +18,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Output;
 use C4::Auth;
index d86dab0..8cbd772 100755 (executable)
@@ -18,7 +18,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Output;
 use C4::Auth;
index 2a04857..8ed4bdb 100755 (executable)
@@ -24,7 +24,7 @@ use C4::Context;
 use C4::RotatingCollections;
 use C4::Branch;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 my $query = new CGI;
 
index 319b852..2eb248e 100755 (executable)
@@ -45,7 +45,7 @@ use warnings;
 use C4::Auth;
 use C4::Biblio;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Acquisition qw( SearchOrders );
 use C4::Dates qw/format_date/;
 
index a8592fb..a8c2248 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 
index e24210f..9feeaad 100755 (executable)
@@ -44,7 +44,7 @@ The date to filter on.
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Serials; # GetExpirationDate
 use C4::Output;
index 7120515..89150a1 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Serials;
 use C4::Acquisition;
index f2c6d49..52b303d 100755 (executable)
@@ -18,7 +18,7 @@
 # along with Koha; if not, see <http://www.gnu.org/licenses>.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Serials::Numberpattern;
 use C4::Auth qw/check_cookie_auth/;
index 97b5bbe..a75b21c 100755 (executable)
@@ -16,7 +16,7 @@
 # along with Koha; if not, see <http://www.gnu.org/licenses>.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Serials;
 use C4::Acquisition;
index dfeb373..9ae769b 100755 (executable)
@@ -25,7 +25,7 @@ Member Search.pl script used to search for members to add to a routing list
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;       # get_template_and_user
 use C4::Output;
 use C4::Members;    # BornameSearch
index 8b64fc7..ba19b8c 100755 (executable)
@@ -20,7 +20,7 @@
 # printed out
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth qw( checkauth );
 use C4::Serials qw( reorder_members );
 
index 1f219cc..db0984c 100755 (executable)
@@ -20,7 +20,7 @@
 # of reserves for the serial
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Koha;
 use C4::Auth;
 use C4::Dates;
index 5dd53fe..5e85729 100755 (executable)
@@ -27,7 +27,7 @@ printed out
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Koha;
 use C4::Auth;
 use C4::Dates;
index de5989b..0294c54 100755 (executable)
@@ -43,7 +43,7 @@ the biblionumber this script has to give more infos.
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Koha;
 use C4::Dates;
index 2922c42..6d17354 100755 (executable)
@@ -21,7 +21,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Koha;
 use C4::Dates qw/format_date/;
index 54c8ccd..d9b97a6 100755 (executable)
@@ -63,7 +63,7 @@ op can be :
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use Encode qw( decode is_utf8 );
 use C4::Auth;
 use C4::Dates qw/format_date format_date_in_iso/;
index 175321e..66e47e2 100755 (executable)
@@ -29,7 +29,7 @@ this script is the main page for serials/
 =cut
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Branch;
 use C4::Context;
index d5daa9f..9fbce35 100755 (executable)
@@ -64,7 +64,7 @@ op can be :
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Dates qw/format_date format_date_in_iso/;
 use C4::Biblio;
index b4e7715..b8a4007 100755 (executable)
@@ -29,7 +29,7 @@ this script is the search page for serials
 =cut
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Branch;
 use C4::Context;
index 82cf8af..6945a36 100755 (executable)
@@ -30,7 +30,7 @@ publication date, based on frequency and first publication date.
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Date::Calc qw(Today Day_of_Year Week_of_Year Day_of_Week Days_in_Year Delta_Days Add_Delta_Days Add_Delta_YM);
 use C4::Auth;
 use C4::Output;
index b17fc60..fa75f06 100755 (executable)
@@ -18,7 +18,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Date::Calc qw(Today Day_of_Year Week_of_Year Add_Delta_Days Add_Delta_YM);
 use C4::Koha;
 use C4::Biblio;
index e47b1e7..d8a8dd5 100755 (executable)
@@ -49,7 +49,7 @@ to multipage gestion.
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Koha;
 use C4::Auth;
 use C4::Context;
index a3186cb..ebdc415 100755 (executable)
@@ -16,7 +16,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Acquisition;
 use C4::Auth;
 use C4::Budgets;
index a44a9bb..f3c6d57 100755 (executable)
@@ -29,7 +29,7 @@ Manage subscription frequencies
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 1d38082..f7fe7c0 100755 (executable)
@@ -18,7 +18,7 @@
 # along with Koha; if not, see <http://www.gnu.org/licenses>.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Serials::Frequency;
 use C4::Auth qw/check_cookie_auth/;
index a45074f..9310b5d 100755 (executable)
@@ -29,7 +29,7 @@ Modify subscription history
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 
index 2a59d02..26745f1 100755 (executable)
@@ -18,7 +18,7 @@
 # along with Koha; if not, see <http://www.gnu.org/licenses>.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Serials::Numberpattern;
 use C4::Auth qw/check_cookie_auth/;
 use JSON qw( to_json );
index 934b545..2bcce3a 100755 (executable)
@@ -28,7 +28,7 @@ Manage numbering patterns
 =cut
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index df01dcc..92f7766 100755 (executable)
@@ -46,7 +46,7 @@ Id of the subscription this script has to renew
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Carp;
 use C4::Koha;
 use C4::Auth;
index 7d813e0..af28d66 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index 3d7aa89..ff6eb12 100755 (executable)
@@ -30,7 +30,7 @@ It uses PrepareItemrecordDisplay
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Items;
index 22f630e..5d599fb 100755 (executable)
@@ -2,7 +2,7 @@
 
 use strict;
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::SMS;
 use C4::Output;
 use C4::Auth;
index c0e39d5..a94dc95 100755 (executable)
@@ -7,7 +7,7 @@ use strict;
 use Win32::Process;
 use Win32;
 use C4::Context;
-use CGI;
+use CGI qw ( -utf8 );
 my $input=new CGI;
 my $fileplace=C4::Context->config('intranetdir');
 my $fullpath=$fileplace."/cgi-bin/sms";
index b146aad..b54703a 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 #use warnings; FIXME - Bug 2505
 require Exporter;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;    # get_template_and_user
 use C4::Output;
 use C4::Suggestions;
index 945d316..b64ecc8 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth qw/check_api_auth/;
 use XML::Simple;
 
diff --git a/svc/bib b/svc/bib
index d7cd169..ef1e41c 100755 (executable)
--- a/svc/bib
+++ b/svc/bib
@@ -22,7 +22,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth qw/check_api_auth/;
 use C4::Biblio;
 use C4::Items;
index e1c1f68..e7660f0 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth qw/check_api_auth/;
 use C4::Context;
 use C4::Koha;
index ff29503..590a243 100755 (executable)
@@ -20,7 +20,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth qw/check_cookie_auth/;
 use C4::Images;
 use JSON qw/to_json/;
index f93428d..06c0fbf 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth qw/check_api_auth/;
 use C4::Context;
 use C4::ImportBatch;
index 435d837..7ec4d05 100755 (executable)
@@ -21,7 +21,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth qw/check_api_auth/;
 use C4::Biblio;
 use C4::Items;
index ca4fbea..8736aca 100755 (executable)
@@ -23,7 +23,7 @@ use Modern::Perl;
 use C4::Auth;
 use C4::Reports::Guided;
 use JSON;
-use CGI;
+use CGI qw ( -utf8 );
 
 use Koha::Cache;
 
index 9cafbd7..6b0f638 100644 (file)
@@ -20,7 +20,7 @@
 use Modern::Perl;
 use Test::More tests => 3;
 use Test::MockModule;
-use CGI;
+use CGI qw ( -utf8 );
 
 BEGIN {
     use_ok('C4::Languages');
index 24c1344..4474d18 100755 (executable)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More tests => 5;
-use CGI;
+use CGI qw ( -utf8 );
 
 BEGIN {
     use_ok('C4::Output');
index 079779f..f769040 100644 (file)
@@ -5,7 +5,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Test::MockModule;
 use List::MoreUtils qw/all any none/;
 use Test::More tests => 6;
index 668e1ca..9ea2caa 100644 (file)
@@ -6,7 +6,7 @@
 use strict;
 use warnings;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use Test::More tests => 14;
 
 BEGIN {
index 1951ecc..9aee73e 100644 (file)
@@ -4,7 +4,7 @@ use Modern::Perl;
 
 use C4::Members qw/AddMember GetMember GetBorrowercategory/;
 use C4::Branch;
-use CGI;
+use CGI qw ( -utf8 );
 
 use Test::More tests => 15;
 
index 8fbb709..32def21 100644 (file)
@@ -6,7 +6,7 @@
 use Modern::Perl;
 use YAML;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Serials;
 use C4::Serials::Frequency;
 use C4::Serials::Numberpattern;
index 5813c83..24265a1 100755 (executable)
@@ -19,7 +19,7 @@
 
 use warnings;
 use strict;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth qw(:DEFAULT check_cookie_auth);
 use C4::Biblio;
index b04c294..6da8027 100755 (executable)
@@ -23,7 +23,7 @@ use warnings;
 use strict;
 use Data::Dumper;
 use POSIX;
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie; # need to check cookies before having CGI parse the POST request
 
 use C4::Auth qw(:DEFAULT check_cookie_auth);
index 2285348..bdd8b4d 100755 (executable)
@@ -28,7 +28,7 @@ use strict;
 use warnings;
 
 # standard or CPAN modules used
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie;
 
 # Koha modules used
index 691947d..a15cf51 100755 (executable)
@@ -28,7 +28,7 @@ use strict;
 use warnings;
 
 # standard or CPAN modules used
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie;
 
 # Koha modules used
index 63f371a..2aeda40 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Items qw( ModDateLastSeen );
 
index 380ad15..8f968d3 100755 (executable)
@@ -22,7 +22,7 @@ use strict;
 
 # standard or CPAN modules used
 use IO::File;
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Session;
 use C4::Context;
 use C4::Auth qw/check_cookie_auth/;
index ea9c856..4ff95e8 100755 (executable)
@@ -18,7 +18,7 @@
 # with Koha; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-use CGI;
+use CGI qw ( -utf8 );
 use strict;
 #use warnings; FIXME - Bug 2505
 use C4::Auth;
index e3dec83..c8c6198 100755 (executable)
@@ -31,7 +31,7 @@ the records from an import batch.
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 use JSON qw/ to_json /;
 
 use C4::Context;
index 9a9c1ca..918dd9e 100755 (executable)
@@ -34,7 +34,7 @@ This script allows to do 2 things.
 use strict;
 
 #use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Members;        # GetBorrowersWhoHavexxxBorrowed.
index 83c9761..5a1618d 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 942452c..c261376 100755 (executable)
@@ -41,7 +41,7 @@ use Encode;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Koha;
 use C4::Csv;
 
index 0a36a20..45e2208 100755 (executable)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index bae6941..f1bbcbb 100755 (executable)
@@ -20,7 +20,7 @@ use Modern::Perl;
 use MARC::File::XML;
 use List::MoreUtils qw(uniq);
 use Getopt::Long;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::AuthoritiesMarc;    # GetAuthority
 use C4::Biblio;             # GetMarcBiblio
index 23468d1..b5aa4e3 100755 (executable)
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index 55b7e7f..3b557f0 100755 (executable)
@@ -55,7 +55,7 @@ use Text::CSV;
 # ė
 # č
 
-use CGI;
+use CGI qw ( -utf8 );
 # use encoding 'utf8';    # don't do this
 
 my (@errors, @feedback);
index ba10b14..8c88349 100755 (executable)
@@ -22,7 +22,7 @@ use strict;
 use warnings;
 
 #need to open cgi and get the fh before anything else opens a new cgi context (see C4::Auth)
-use CGI;
+use CGI qw ( -utf8 );
 my $input = CGI->new;
 my $uploadbarcodes = $input->param('uploadbarcodes');
 
index 1859deb..cf1e2b4 100755 (executable)
@@ -24,7 +24,7 @@
 
 use strict;
 # use warnings; FIXME - Bug 2505
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Koha;
 use C4::Context;
index ab4f78f..b806e9b 100755 (executable)
@@ -42,7 +42,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index 961a327..f0f2ca5 100755 (executable)
@@ -21,7 +21,7 @@ use strict;
 use warnings;
 
 # standard or CPAN modules used
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie;
 use MARC::File::USMARC;
 
index 4f9323f..31c663b 100755 (executable)
@@ -18,7 +18,7 @@
 
 use Modern::Perl;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Koha;
index a3f8b3f..bc82ed4 100755 (executable)
@@ -26,7 +26,7 @@
 # And for patron attributes.
 
 use Modern::Perl;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Branch;
 use C4::Koha;
index 646276c..678ee0d 100755 (executable)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth;
 use C4::Output;
index a824bd4..178a569 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Context;
 use C4::Output;
 use C4::Auth;
index b7d99d7..af3012a 100755 (executable)
@@ -23,7 +23,7 @@ use Modern::Perl;
 
 use File::Temp;
 use File::Copy;
-use CGI;
+use CGI qw ( -utf8 );
 use GD;
 use C4::Context;
 use C4::Auth;
index 7db61ce..eae219c 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use autouse 'Data::Dumper' => qw(Dumper);
 
 use C4::Auth;
index e12f4bf..e65a013 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use autouse 'Data::Dumper' => qw(Dumper);
 
 use C4::Auth;
index d2817d3..08606e0 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use JSON;
 use autouse 'Data::Dumper' => qw(Dumper);
 
index 5f44a7e..ece31c6 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use JSON;
 use autouse 'Data::Dumper' => qw(Dumper);
 
index c909971..b55204b 100755 (executable)
@@ -23,7 +23,7 @@ use C4::Context;
 use C4::Scheduler;
 use C4::Reports::Guided;
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Output;
 use C4::Dates;
 
index a5f4d17..500e6cd 100755 (executable)
@@ -28,7 +28,7 @@ use strict;
 #use warnings; FIXME - Bug 2505
 
 # standard or CPAN modules used
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie;
 use MARC::File::USMARC;
 
index b493f1f..75f970b 100755 (executable)
@@ -18,7 +18,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
 use C4::Review qw/numberofreviews/;
index 478c119..1e6a1af 100755 (executable)
@@ -41,7 +41,7 @@ use strict;
 use warnings;
 
 use File::Temp;
-use CGI;
+use CGI qw ( -utf8 );
 use GD;
 use C4::Context;
 use C4::Auth;
index c457dbb..dd1065c 100755 (executable)
@@ -22,7 +22,7 @@ use strict;
 
 # standard or CPAN modules used
 use IO::File;
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Session;
 use C4::Context;
 use C4::Auth qw/check_cookie_auth/;
index b705f5c..dd8c4f5 100755 (executable)
@@ -22,7 +22,7 @@ use strict;
 
 # standard or CPAN modules used
 use IO::File;
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Session;
 use C4::Context;
 use C4::Auth qw/check_cookie_auth/;
index e526c1f..6f5ea03 100755 (executable)
@@ -21,7 +21,7 @@
 use Modern::Perl;
 
 use C4::Auth;
-use CGI;
+use CGI qw ( -utf8 );
 use Text::CSV::Encoded;
 use C4::Context;
 use C4::Koha;
index 289a4aa..87586f2 100755 (executable)
@@ -61,7 +61,7 @@ addbybiblionumber.pl
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Biblio;
 use C4::Output;
 use C4::VirtualShelves qw/:DEFAULT GetAllShelves/;
index caf01ac..27fc7f9 100755 (executable)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use CGI;
+use CGI qw ( -utf8 );
 use Encode qw(encode);
 
 use C4::Auth;
index 1d41581..c98e8ce 100755 (executable)
@@ -20,8 +20,8 @@
 use strict;
 use warnings;
 
-use CGI;
-use Encode qw(decode encode);
+use CGI qw ( -utf8 );
+use Encode qw(encode);
 use Carp;
 
 use Mail::Sendmail;
index 9f82e9d..9dba3f4 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::VirtualShelves::Page;
 use C4::Auth;