[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
Sat May 2 12:28:19 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25305

didier <didier.gautheron at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #103914|0                           |1
        is obsolete|                            |

--- Comment #12 from didier <didier.gautheron at biblibre.com> ---
Created attachment 104185
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104185&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