http://qs321.pair.com?node_id=828929


in reply to Decode LaTeX flying accents

If you want to put this on CPAN (you should!), the counterpart is already there: LaTeX::Encode.
perl -MLaTeX::Encode -Mutf8 -e 'print latex_encode("François Viète")'