Koha/misc/translator
Colin Campbell 263dded818 Bug 6752: Be stricter with utf-8 encoding of output
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>
2012-01-27 12:11:06 +01:00
..
po Moving po files to 3.6.0 filenames 2011-10-22 05:33:40 +13:00
LangInstaller.pm Moving po files to 3.6.0 filenames 2011-10-22 05:33:40 +13:00
Makefile
stats.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
text-extract.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
text-extract2.pl Bug 2505 - Add commented use warnings where missing in the misc/ directory 2010-04-21 20:26:44 +12:00
tmpl_process3.pl Bug 6958 : Fix for leading spaces being stripped on translation 2011-10-07 09:42:13 +13:00
TmplTokenizer.pm Bug 6458 Template Toolkit files test case 2011-08-18 21:11:50 +12:00
translate Bail out early if an invalid language is used. 2011-12-15 18:33:36 +01:00
translator_doc.html Documents translator dependency on 'gettext' Linux tools and add it to debian.packages 2008-06-26 05:51:35 -05:00
translator_doc.txt Documents translator dependency on 'gettext' Linux tools and add it to debian.packages 2008-06-26 05:51:35 -05:00
update.pl Bug 5385: POD Cleanups (part 2) 2010-11-12 10:06:56 +13:00
VerboseWarnings.pm Bug 2505 - Add commented use warnings where missing in *.pm 2010-04-21 20:28:51 +12:00
xgettext.pl Bug 6752: Be stricter with utf-8 encoding of output 2012-01-27 12:11:06 +01:00