You should show how you get data into your $var. Most likely you have sequence of octets there instead of Unicode characters. Because of that Text::Unidecode fails, it expects sequence of Unicode characters as input.
In reply to Re: Unidecode fails printing french accents
by andal
in thread Unidecode fails printing french accents
by edgreenberg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |