]> git.koha-community.org Git - koha.git/commit
Bug 13975: Remove compilation warning about encoding pragma deprecation
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 9 Apr 2015 14:05:59 +0000 (16:05 +0200)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 21 Apr 2015 23:21:14 +0000 (11:21 +1200)
commitad3121e388c4517e099fa0ddd679c37739b6d2e6
tree73c51498298ca4957e2c95da8b4f7c5906195121
parent95d8d892a4ee1007fb69db8b69203f9a4796332a
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.

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.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit dbd8602280192e4e4cd9915ad8c345a2d40dfb72)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
misc/export_borrowers.pl