Package: libhtml-parser-perl Version: 3.76-1 File: /usr/share/doc/libhtml-parser-perl/examples/htext You need to say use Encode qw(encode); else the program will die. (Also if the file is already utf8, it will be double encoded...)