projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48a7e87
)
ilsdi.pl : character encoding declaration update
author
Paul Poulain
<paul.poulain@biblibre.com>
Thu, 1 Oct 2009 11:55:10 +0000
(13:55 +0200)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Thu, 1 Oct 2009 11:55:10 +0000
(13:55 +0200)
xml declaration of charset is now set to utf8
opac/ilsdi.pl
patch
|
blob
|
history
diff --git
a/opac/ilsdi.pl
b/opac/ilsdi.pl
index
18f424d
..
1a97abe
100755
(executable)
--- a/
opac/ilsdi.pl
+++ b/
opac/ilsdi.pl
@@
-215,13
+215,13
@@
if ( $service and grep { $service eq $_ } @services ) {
}
# Output XML by passing the hashref to XMLOut
-print CGI::header('
text/xml
');
+print CGI::header('
-type'=>'text/xml', '-charset'=>'utf-8
');
print XMLout(
$out,
noattr => 1,
noescape => 1,
nosort => 1,
- xmldecl => '<?xml version="1.0" encoding="
ISO-8859-1
" ?>',
+ xmldecl => '<?xml version="1.0" encoding="
UTF-8
" ?>',
RootName => $service,
SuppressEmpty => 1
);