Removed validation on enter keyup. Fixed encoding.