Hopefully removing all of the invalid characters