Fixed an encoding bug in the documentation
Moved the binmode pragma to the end of the file, so it won't affect documentation templates. So no more double encoding. Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com> Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
9428e750f0
commit
d4260af339
1 changed files with 1 additions and 0 deletions
|
@ -228,6 +228,7 @@ if ( $service and any { $service eq $_ } @services ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Output XML by passing the hashref to XMLOut
|
# Output XML by passing the hashref to XMLOut
|
||||||
|
binmode(STDOUT, ":utf8");
|
||||||
print CGI::header('-type'=>'text/xml', '-charset'=>'utf-8');
|
print CGI::header('-type'=>'text/xml', '-charset'=>'utf-8');
|
||||||
print XMLout(
|
print XMLout(
|
||||||
$out,
|
$out,
|
||||||
|
|
Loading…
Reference in a new issue