Fix character encoding in forms