Addded Character encoding - for validation