fix unicode problems in form parser & builder