Summary: | Warning "Use of the encoding pragma is deprecated" in misc/export_borrowers.pl | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Architecture, internals, and plumbing | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | chris, f.demians, kyle, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 13975: Remove compilation warning about encoding pragma deprecation
Bug 13975: Remove compilation warning about encoding pragma Bug 13975: Remove compilation warning about encoding pragma |
Description
Jonathan Druart
2015-04-09 14:01:34 UTC
Created attachment 37620 [details] [review] Bug 13975: Remove compilation warning about encoding pragma deprecation Test plan: 0/ Does not apply the patch 1/ Launch the export_borrowers.pl script to export data with unicode characters % perl misc/export_borrowers.pl -w "borrowernumber=42" --field borrowernumber --field surname --field firstname Use of the encoding pragma is deprecated at misc/export_borrowers.pl 7874,JOUBU,صةصةصة 2/ Apply this patch 3/ Repeat 1 % perl misc/export_borrowers.pl -w "borrowernumber=42" --field borrowernumber --field surname --field firstname 7874,JOUBU,صةصةصة Note that the deprecated message is gone and the encoding is correct. Created attachment 37676 [details] [review] Bug 13975: Remove compilation warning about encoding pragma Signed-off-by: Frederic Demians <f.demians@tamil.fr> I confirm the warning (on Perl version above 5.14). And that the patch fix the warning. Created attachment 38034 [details] [review] Bug 13975: Remove compilation warning about encoding pragma Patch pushed to master. Thanks Jonathan! Pushed to 3.18.x will be in 3.18.6 |