http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8872

Jared Camins-Esakov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12755|0                           |1
        is obsolete|                            |
  Attachment #12756|0                           |1
        is obsolete|                            |
  Attachment #12757|0                           |1
        is obsolete|                            |
  Attachment #12758|0                           |1
        is obsolete|                            |
  Attachment #12759|0                           |1
        is obsolete|                            |

--- Comment #7 from Jared Camins-Esakov <[email protected]> ---
Created attachment 12986
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12986&action=edit
Bug 8872 Encoding issues in Templates.pm

Adds specific encoding parameter when creating Template object.
Note that the instruction binmode => ':utf8' could have been added also
to the process method. But since it outputs to a Perl variable, this is
not needed.
Finally, instead of the old encoding of all parameters before processing,
the output of process is encoded to UTF-8 octets. Note that Perl could
have handled this internally, but this would require adding a use open
statement, setting IO layers to UTF-8 in all scripts.

Signed-off-by: Jared Camins-Esakov <[email protected]>

Successfully tested on a record that displayed the UTF-8 "unknown
character" glyph before the patch, at least in plain MARC, and the
correct character after.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to