Scan form - fix

Fix for UnicodeEncodeError. Sometimes plugins can return non ASCII characters...