https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39023

--- Comment #8 from Katrin Fischer <[email protected]> ---
Created attachment 201121
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201121&action=edit
Bug 39023: Fix encoding in CSV output file

Sponsored-by: Styrian State Library

Testplan:

I) Prepare overdue entry (intranet):
0) Create a patron account with surname Höfler
1) Check if in Patron category administration the overdue column
   is YES for his code
2) In Tools -> Notice triggers define first delay = 7, letter
   Overdue notice. Nothing for second and third
3) Check if Tools -> Notices and slips, code overdue is available
4) checkout a book with a retard more than 7 days.
5) Check if Adminstration -> Defining circulation and fine rules
   for all libraries has fine rules for his patron category,
   item type book.

II) Before applying the patch
0) Run misc/cronjobs/overdue_notices.pl -v -test -list-all
-csv="overdue_old.csv"
1) Validate the characters are in Latin1 encoding.
   (hexdump -C overdue.csv|less) ö => "f6"

III) After applying the patch
0) Run misc/cronjobs/overdue_notices.pl -v -test -list-all
-csv="overdue_fixed.csv"
1) Validate the characters are in UTF-8 encoding.
   (hexdump -C overdue_fixed.csv|less) ö => "c3 b6

Signed-off-by: Katrin Fischer <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to