X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/f22a9debc2c3c50828c31ff028057734a4aadea6..0bf15a019e9201754f43b7a874b8cc02c96d2130:/source.plp diff --git a/source.plp b/source.plp index cdd40a1..ee129ce 100644 --- a/source.plp +++ b/source.plp @@ -7,7 +7,7 @@ Html({ title => "$source source code", version => 'v1.0', description => !$source ? 'Index of source files for this site.' : [ - "Source code of local $source file,", + "Source code of the $source file at this site,", "with syntax highlighted and references linked." ], keywords => [qw' @@ -76,7 +76,10 @@ else { print "\n"; } else { - print "
\n", EscapeHTML(ReadFile($source)), "
\n"; + require Encode; + print "
\n";
+		print EscapeHTML(Encode::decode_utf8(ReadFile($source)));
+		print "
\n"; } print "\n";