hexdump -C your-file-with-ligatures.txt #### use open ":encoding(UTF-8)"; #### binmode STDOUT, ":encoding(UTF-8)";