encoding error fix for emaillink