[Koha-bugs] [Bug 2705] Patron import should warn about invalid characters

bugzilla-daemon at liblime.com bugzilla-daemon at liblime.com
Wed May 6 19:21:12 CEST 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2705


Joe Atzberger <joe.atzberger at liblime.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #1 from Joe Atzberger <joe.atzberger at liblime.com>  2009-05-06 17:21:12 ---
I'm not sure how to approach this.  We only access the attachment via Text::CSV
in binary mode.  

Do you want a prepass for invalid characters?  Or a per-line check with
Encode::Guess?

We may conclude that no additional code is warranted, since the errors for
Text::CSV parsing are already well reported.  If the attachment is ASCII, for
example, then there is no problem.  What other encodings are we expecting?

It seems like no CSV editor is going to insert characters outside UTF-8 too
easily.  Can you attach an example CSV file with data you think should be
caught by the script?


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list