in reply to Converting from utf8 to latin1

This is because the functionality has been removed from perl5.6.1

man of perlunicode suggests using pack('U0', ...) and pack('C0', ...) instead