Fixed UnicodeDecodeError for contact portlet.

When the site title contains special characters, the form failed to render.