use encoding(UTF-8) rather than utf-8 for stricter encoding Marking output as ':utf8' only flags the data as utf8 using :encoding(UTF-8) also checks it as valid utf-8 see binmode in perlfunc for more details In accordance with the robustness principle input filehandles have not been changed as code may make the undocumented assumption that invalid utf-8 is present in the imput Fixes errors reported by t/00-testcritic.t Where feasable some filehandles have been made lexical rather than reusing global filehandle vars Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> (cherry picked from commit |
||
|---|---|---|
| .. | ||
| 22_to_30 | ||
| build6xx.pl | ||
| buildCOUNTRY.pl | ||
| buildEDITORS.pl | ||
| buildLANG.pl | ||
| bulkauthimport.pl | ||
| bulkmarcimport.pl | ||
| fix_onloan.pl | ||
| merge_authority.pl | ||
| rebuild_nozebra.pl | ||
| rebuild_zebra.pl | ||
| remove_unused_authorities.pl | ||
| upgradeitems.pl | ||