Could we strip out invalid characters instead?