earlier charset declaration for validation