I like your solution, could you please post your solution on the devel-list for approval?
> The drawback - if any accented character is not handled by revert_accent > they will trigger a unicode error.Why should an accented character not be handled by revert_accent? Can't we catch the error showing a message box and replace the erratic characters in the output as "?" as you and Georg proposed in the bugs related to this one?