[Koha-bugs] [Bug 25305] Double UTF-8 encoding on translation files
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun May 3 22:19:50 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25305
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #104185|0 |1
is obsolete| |
--- Comment #14 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 104226
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104226&action=edit
Bug 25305: Translation process - Open all files specifying the utf8 encoding
To test:
1) Create translation files for a new language
( cd misc/translator; ./translate create xx-YY)
A new language means one that isn't already in Koha, xx-YY=>something you
invent.
2) Verify double encoding
egrep "Aix-Marseille|Jean Prunier|periodika|Bokm" misc/translator/po/xx-YY-*
check strange strings
3) Apply the patch
4) Create po files again
( cd misc/translator; rm -f po/xx-YY*; ./translate create xx-YY)
5) Verify no more double encoding
egrep "Aix-Marseille|Jean Prunier|periodika|Bokm" misc/translator/po/xx-YY-*
check normal string
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Copyied my test plan, can't find more cases, tested using
something similar to
http://blogs.perl.org/users/chansen/2010/10/coping-with-double-encoded-utf-8.html
Signed-off-by: Didier Gautheron <didier.gautheron at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list