Bug 24365: (bug 24217 follow-up) Fix encoding issue for translator script
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 7 Jan 2020 14:47:14 +0000 (15:47 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 7 Jan 2020 15:07:31 +0000 (15:07 +0000)
commit2aedb2dfa6473dfec825f51ce7ab3d8071b38366
tree5a02f3bfa95e9a9b9d626bcf89b787cd9cdb579c
parent094f0623c2c740aa2be5fb6364694b88442e03cf
Bug 24365: (bug 24217 follow-up) Fix encoding issue for translator script

I am not sure what happened here, but adding strict for TmplTokenizer.pm
breaks a test for translation.

It has been caught by a failing test:
 % prove xt/author/translatable-templates.t
will display lines "invalid multibyte sequence"

I did a diff between the generated files and found:
< msgid "àrbok"

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
misc/translator/xgettext.pl