Adds charset stuff for form input elements