fix a reported issue with unicode characters in send_keys()