-#!/usr/bin/perl -Tw
+#!/opt/perl-5.9.5/bin/perl5.9.5 -Tw
#################################################################################
# Kiriwrite Installer Script (install.cgi) #
-#!/usr/bin/perl -Tw
+#!/usr/bin/perl -zTw
#################################################################################
# Kiriwrite (kiriwrite.cgi) #
($page_filename) = $page_filename =~ m/^(.*)$/g;
($kiriwrite_config{"directory_data_output"}) = $kiriwrite_config{"directory_data_output"} =~ m/^(.*)$/g;
- open($filehandle_page, ">:utf8 ", $kiriwrite_config{"directory_data_output"} . '/' . $page_filename) or ($kiriwrite_presmodule->addtext($error_prefix . kiriwrite_language($kiriwrite_lang->{compile}->{pagenotwritten}, $page_filename, $!)), $kiriwrite_presmodule->addlinebreak(), $error_count++, next);
+
+ open($filehandle_page, "> ", $kiriwrite_config{"directory_data_output"} . '/' . $page_filename) or ($kiriwrite_presmodule->addtext($error_prefix . kiriwrite_language($kiriwrite_lang->{compile}->{pagenotwritten}, $page_filename, $!)), $kiriwrite_presmodule->addlinebreak(), $error_count++, next);
if (!$page_final){