projects
/
koha_fer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e5de5b5
)
why the hell do we need to explicitly utf8 decode this string ? I really don't know...
author
tipaul
<tipaul>
Fri, 30 Mar 2007 12:00:42 +0000
(12:00 +0000)
committer
tipaul
<tipaul>
Fri, 30 Mar 2007 12:00:42 +0000
(12:00 +0000)
C4/Biblio.pm
patch
|
blob
|
history
diff --git
a/C4/Biblio.pm
b/C4/Biblio.pm
index
a386367
..
e1c8fd4
100644
(file)
--- a/
C4/Biblio.pm
+++ b/
C4/Biblio.pm
@@
-1237,6
+1237,11
@@
sub GetMarcStructure {
{
$res->{$tag}->{lib} =
( $forlibrarian or !$libopac ) ? $liblibrarian : $libopac;
{
$res->{$tag}->{lib} =
( $forlibrarian or !$libopac ) ? $liblibrarian : $libopac;
+ # why the hell do we need to explicitly decode utf8 ?
+ # that's a good question, but we must do it...
+ use utf8;
+ utf8::decode($res->{$tag}->{lib});
+# warn "$liblibrarian";
$res->{$tab}->{tab} = ""; # XXX
$res->{$tag}->{mandatory} = $mandatory;
$res->{$tag}->{repeatable} = $repeatable;
$res->{$tab}->{tab} = ""; # XXX
$res->{$tag}->{mandatory} = $mandatory;
$res->{$tag}->{repeatable} = $repeatable;
@@
-3484,6
+3489,9
@@
Joshua Ferraro jmf@liblime.com
# $Id$
# $Log$
# $Id$
# $Log$
+# Revision 1.194 2007/03/30 12:00:42 tipaul
+# why the hell do we need to explicitly utf8 decode this string ? I really don't know, but it seems it's mandatory, otherwise, tag descriptions are not properly encoded...
+#
# Revision 1.193 2007/03/29 16:45:53 tipaul
# Code cleaning of Biblio.pm (continued)
#
# Revision 1.193 2007/03/29 16:45:53 tipaul
# Code cleaning of Biblio.pm (continued)
#