System error

error:  Malformed UTF-8 character (fatal) at /srv/jbovlaste/current/lib/SimpleLaTeX.pm line 89.
context: 
... 
85:  close(TMP2);
86: 
87:  # Re-write the image links.
88:  $dir =~ s!/tmp!!;
89:  $tmpout =~ s/.*<BODY[^>]*>//s;
90:  $tmpout =~ s/<BR[^>]*><HR[^>]*>.*//s;
91:  $tmpout =~ s/SRC="/SRC="$dir\//gs;
92: 
93:  $InputText=$tmpout;
... 
code stack:  /srv/jbovlaste/current/lib/SimpleLaTeX.pm:89
/srv/jbovlaste/current/lib/Wiki.pm:505
/srv/jbovlaste/current/dict/dhandler:319
/srv/jbovlaste/current/autohandler:4
raw error






























Malformed UTF-8 character (fatal) at /srv/jbovlaste/current/lib/SimpleLaTeX.pm line 89.


Trace begun at /usr/share/perl5/vendor_perl/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Malformed UTF-8 character (fatal) at /srv/jbovlaste/current/lib/SimpleLaTeX.pm line 89.^J') called at /srv/jbovlaste/current/lib/SimpleLaTeX.pm line 89
SimpleLaTeX::interpret('Ω*$e^Ω$ = 1.') called at /srv/jbovlaste/current/lib/Wiki.pm line 505
Wiki::mini('Ω*$e^Ω$ = 1.', 'en') called at /srv/jbovlaste/current/dict/dhandler line 319
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/vendor_perl/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f3c70052e90)') called at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 1355
HTML::Mason::Request::scomp('HTML::Mason::Request::ApacheHandler=HASH(0x7f3c90046d50)', 'HTML::Mason::Component::FileBased=HASH(0x7f3c70052e90)') called at /srv/jbovlaste/current/autohandler line 4
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/vendor_perl/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f3c98e828c8)') called at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 1300
eval {...} at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f3c90046d50)') called at /usr/share/perl5/vendor_perl/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f3c90046d50)') called at /usr/share/perl5/vendor_perl/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f3c98020040)', 'Apache2::RequestRec=SCALAR(0x7f3c5cf4a8b8)') called at (eval 27) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f3c5cf4a8b8)') called at -e line 0
eval {...} at -e line 0