[Koha-bugs] [Bug 6479] Encoding problem in "recievedlist" when the numbering formula contains utf-8 characters
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 15 09:44:27 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6479
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #4424|0 |1
is obsolete| |
--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> 2011-06-15 07:44:27 UTC ---
Comment on attachment 4424
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4424
Corrections the encoding problem with "recievedlist"
>From 4106e035be8ac9886aafccbd5284c3ede7cb34c4 Mon Sep 17 00:00:00 2001
>From: =?utf-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= <frederick.capovilla at sys-tech.net>
>Date: Tue, 7 Jun 2011 14:03:08 -0400
>Subject: [PATCH] Converts all the serialseq variables to UTF-8.
>
>Corrects a problem when an UTF-8 character is used in the serial
>numbering formula. The encoding became incorrect when concatenating the
>number in the subscriptionhistory table.
>---
> serials/serials-edit.pl | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
>diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl
>index aaa0574..b486c04 100755
>--- a/serials/serials-edit.pl
>+++ b/serials/serials-edit.pl
>@@ -196,6 +196,11 @@ $template->param( subscriptions => \@subscriptionloop );
>
> if ( $op and $op eq 'serialchangestatus' ) {
>
>+ # Convert serialseqs to UTF-8 to prevent encoding problems
>+ foreach my $seq (@serialseqs) {
>+ utf8::decode($seq) unless utf8::is_utf8($seq);
>+ }
>+
> my $newserial;
> for ( my $i = 0 ; $i <= $#serialids ; $i++ ) {
>
>--
>1.5.6.5
>
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list