sub deaccent{ my $phrase = shift; return $phrase unless ($phrase =~ y/\xC0-\xFF//); $phrase =~ tr/ÀÁÂÃÄÅàáâãäåÇçÈÉÊËèéêëÌÍÎÏìíîïÒÓÔÕÖØòóôõöøÑñÙÚÛÜùúûüÝ # download cuts off here.? Update no problem, my dos2unix software was doing it, when I changed line endings