websetup: Fix encoding problem when restoring old setup file.

master
Joey Hess 2010-11-16 14:24:15 -04:00
parent 65e726f201
commit b85ca8603a
2 changed files with 7 additions and 1 deletions

View File

@ -475,7 +475,7 @@ sub showform ($$) {
join(" ", @command), $ret).
'</p>';
open(OUT, ">", $config{setupfile}) || error("$config{setupfile}: $!");
print OUT $oldsetup;
print OUT Encode::encode_utf8($oldsetup);
close OUT;
}

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
ikiwiki (3.20101113) UNRELEASED; urgency=low
* websetup: Fix encoding problem when restoring old setup file.
-- Joey Hess <joeyh@debian.org> Tue, 16 Nov 2010 14:23:47 -0400
ikiwiki (3.20101112) unstable; urgency=HIGH
* txt: Fix display when used inside a format directive.