Use escape_utils if available, fall-back on CGI.