Specifying charset for validation